Error Class

The Error class contains properties and methods that enable you to identify and throw errors. The properties describe the exception and the location of the exception in the code.

Ancestor

Reference

Descendants

None

Properties

Description

context

Provides exception-specific context (optional).

description

Provides a description of the exception (optional).

thrownAt

Identifies the runtime M location at which the exception was encountered.

type

Identifies the exception type.

Statements

Description

throw

Throws an exception from any code block or subroutine.