RuntimeException.Reason

From Xojo Documentation

Read-Only Property (As Text )
TextValue = aRuntimeException.Reason

Supported for all project types and targets.

A non-localized description of why the exception occurred. This is not meant to be presented to end users.