Class: HttpError

Errors~HttpError(message, statusCode, resource, options)

Representing an HTTP error with message, status code, resource and options fetched

Constructor

new HttpError(message, statusCode, resource, options)

Creating an HTTP error with message and status code
Parameters:
Name Type Description
message string Error message
statusCode number HTTP Error status code
resource string The resource has been fetched
options string The resource options
Source:

Extends

  • Error