A Serializable Error that contains an error origin.

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • Optionalmessage: string
    • origin: string = ErrorOrigin.INTERNAL
    • level: ErrorLevel = ErrorLevel.FATAL

    Returns ReportableError

Properties

level: ErrorLevel = ErrorLevel.FATAL
origin: string = ErrorOrigin.INTERNAL

Accessors

  • get [toStringTag](): string
  • Returns string

  • get name(): string
  • Returns string

Methods

  • All ReportableError instances must be serializable.

    Returns EmptyObject