Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ErrorClass

TypeScript compiler-friendly class definition which allows for syntactic Error class extension.

Hierarchy

Implements

  • Error

Index

Constructors

Properties

Constructors

constructor

  • The built-in javascript Error constructor that creates an error object.

    Parameters

    • Optional message: string

      A human-readable description of the error.

    Returns ErrorClass

Properties

message

message: string

A human-readable description of the error.

name

name: string

A name for the type of error.

Generated using TypeDoc