Exception class that will be thrown in case the bound method returns an error. The value of the RuntimeError#name property is "RuntimeError".

Hierarchy

  • Error
    • RuntimeError

Constructors

Properties

Constructors

  • Constructs a new RuntimeError instance.

    Parameters

    • message: string

      The error message.

    • Rest ...args: any[]

      Optional arguments for the Error constructor.

    Returns RuntimeError

Properties

cause?: unknown
message: string
name: string
stack?: string

Generated using TypeDoc