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

(T1 e)

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

Parameters

  • e T1
  • the error value

  • Return Type

    (DetailType)
  • error detail value

reason

(T0 e)

returns null
Returns the error's reason string.

Parameters

  • e T0
  • the error value

  • 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