Class: AbstractError

Messages/AbstractError~ AbstractError

The AbstractError is the base class for all derived errors. It is composed by an uuid v4, the name which is based on the instance constructor name, and a message

new AbstractError(message)

Parameters:
Name Type Description
message string The error message to dispatch
Source:

Extends

  • Error

Members


<constant> isAbstractError :boolean

A boolean based on classname that allow fast type checking, will ever be true
Type:
  • boolean
Default Value:
  • true
Source:

<readonly> message :string

The error message
Type:
  • string
Source:

<readonly> name :string

The name of current instanced error (a.k.a the constructor name)
Type:
  • string
Source:

<readonly> stack :string

The stack trace of the error
Type:
  • string
Source:

<readonly> uuid :string

An auto-generated universally unique identifier, this allow to recognize any error by id
Type:
  • string
Source: