Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Exception

Custom Error class of type Exception.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Allows Exception to be constructed directly with some message and prototype definition.

    Parameters

    • Default value message: string = undefined

    Returns Exception

Properties

message

message: string

name

name: string

Optional stack

stack: string

Static Readonly kind

kind: string = "Exception"

It's typed as string so it can be extended and overriden.

Methods

getKind

  • getKind(): string

Generated using TypeDoc