Options
All
  • Public
  • Public/Protected
  • All
Menu

The error class

Hierarchy

  • Error

Implements

Implemented by

Index

Constructors

Properties

Constructors

constructor

  • new Error(name: string, message: string): Error
  • Parameters

    • name: string
    • message: string

    Returns Error

Properties

message

message: string

the error message

name

name: string

the error no

Optional stack

stack: string

the error stack info.