Class: InternalError

bin/errors/errors~InternalError(params)

Class representing an internal error.

Constructor

new InternalError(params)

Create an InternalError.
Parameters:
Name Type Description
params Object The error parameters supplied.
Properties
Name Type Attributes Description
error Error <optional>
The error being wrapped by this class.
data Object <optional>
The data of the error (Can be any relevant info).
Author:
  • Jose Nicolas Mora
Source:

Extends

  • ExtendedError

Members

(static) defaultProps

Getter for default error properties.
Source: