From Xojo Documentation

Revision as of 19:15, 13 August 2018 by PLefebvre (talk | contribs) (Constants)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from RuntimeException)

Represents an exception that is not necessarily caused by programmer error but rather something from the OS. A good example is trying to write to a read-only file. Checking the writability in advance introduces a 'time of check to time of use' race condition, so the correct thing actually is to just open it.

ErrorDomain fa-lock-32.png LocalizedReason fa-lock-32.png UnderlyingError fa-lock-32.png
ErrorNumber Message
Handle fa-lock-32.png Reason fa-lock-32.png
CallStack Stack



Name Type Description
POSIXErrorDomain POSIX The error domain for error codes coming from POSIX functions in the form of errno values (Mac and Linux).
WindowsErrorDomain Windows The error domain for error codes coming from Windows functions in the form of HRESULT values.
XojoErrorDomain Xojo The error domain for the framework's cross platform error codes.