Options
All
  • Public
  • Public/Protected
  • All
Menu

RuntimeError is the super class for all errors that can occur at Runtime

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Create a Runtime error

    Parameters

    • message: string

      The error message

    • Optional cause: Error

      The causing error of this error

    Returns RuntimeError

  • Create a Runtime error

    Parameters

    • message: string

      The error message

    • Optional type: undefined | string

      The identity of this error

    • Optional cause: Error

      The causing error of this error

    Returns RuntimeError

Properties

Optional cause

cause: Error

The error, if exists, that caused this error

message

message: string

The error message

name

name: string

The name of the error, which is generally the constructor name

type

type: string

A value to identify the error from other errors

Static message

message: string

Static name

name: string

Static Optional stack

stack: undefined | string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc