Functions - lang.error

detail

Returns the error's detail record. The returned value will be immutable.

reason

Returns the error's reason string.

stackTrace

Returns an object representing the stack trace of the error.

detail

($anonType$1 e)

returns DetailType

Returns the error's detail record. The returned value will be immutable.

Parameters

reason

($anonType$0 e)

returns null

Returns the error's reason string.

Parameters

  • Return Type

    (null)
  • error reason

stackTrace

(error e)

returns CallStack

Returns an object representing the stack trace of the error.

Parameters

  • e error
  • the error value

  • Return Type

    (CallStack)
  • a new object representing the stack trace of the error value