Options
All
  • Public
  • Public/Protected
  • All
Menu
ngdoc

object

name

Errors.type:BaseError

description

The base error class for all exceptions. All exceptions must have a name that should match the name of their class and a user settable message. Typically, subclasses of BaseError will fill in the name field in their own constructor, so users do not have to set it.

property

{string} name The name of of the exception, which is intended to be used as a method of filtering different exceptions.

property

{string} message A freeform message that provides more detail into what caused this error.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new BaseError(name: string, message: string): BaseError

Properties

message

message: string

name

name: 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