Functions - lang.error

detail

Returns the error's detail record as an immutable mapping.

reason

Returns the error's reason string.

stackTrace

Returns an object representing the stack trace of the error.

detail

($anonType$1 e)

returns RecordType

Returns the error's detail record as an immutable mapping.

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)
  • stack trace of the error value