ErrorException.ErrorDomain

From Xojo Documentation

Read-Only Property (As Text )
TextValue = aErrorException.ErrorDomain

Supported for all project types and targets.

The error domain for the framework's cross platform error codes, specified using the constants POSIXErrorDomain, WindowsErrorDomain and XojoErrorDomain.