Class: AbstractHTTPError

Messages/HTTP/AbstractHTTPError~ AbstractHTTPError

The AbstractHTTPError is the base class for all derived HTTPError. It extend is AbstractError and agmente it with the status code notion.

new AbstractHTTPError()

Source:

Extends

Members


<static, constant> isAbstractHTTPError :boolean

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

<constant> isAbstractError :boolean

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

<readonly> message :string

The error message
Type:
  • string
Inherited From:
Source:

<readonly> name :string

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

<readonly> stack :string

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

<abstract, readonly> statusCode :number

The abstract getter of http status code, internally it call the static getter statusCode that need to be reimplemented by extended class.
Type:
  • number
Source:

<readonly> uuid :string

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