Class ProcedureErrorAbstract Internal

A base abstraction of an error relating to a procedure.

Remarks

Intended for internal use; may not be exported in future.

Hierarchy

Implements

Constructors

Properties

Constructors

  • Initializes a new instance of ProcedureError

    Parameters

    • message: string

      A string indicating the cause of the error.

    • Optional data: Record<string, unknown>

      An optional dictionary of data which will be passed to a procedure's caller when thrown.

    Returns ProcedureError

Properties

The code used to identify the error type.

data?: Record<string, unknown>

An optional dictionary of data which will be passed to a procedure's caller when thrown.

message: string

A string indicating the cause of the error.

name: string

The name of the error type.

Generated using TypeDoc