Represents errors that occur during application execution.

Hierarchy

Implements

  • Error

Constructors

  • Initializes a new instance of the Exception class with a specified error message and optionally a reference to the inner exception that is the cause of this exception.

    Parameters

    • message: string = ''
    • Optional innerException: unknown

    Returns Exception

Properties

innerException?: unknown
message: string = ''
name: string
stack: string

Methods

  • A string representation of the error type.

    Returns string

  • The string representation of the Exception instance.

    Returns string

  • Returns string

Generated using TypeDoc