Options
All
  • Public
  • Public/Protected
  • All
Menu

Superclass of any error to inherit

Hierarchy

Index

Constructors

Properties

Methods

Constructors

  • new default(message?: string, cause?: Error): default

Properties

cause?: Error

An error that causes the current error

internalMessage?: string

Internal storage for an error message

Methods

  • format(): string
  • Formats internal error's data to produce a message. The method calls when accessing the message property.

    Returns string