Class HTTPError

Construct a generic HTTP error. This is a JavaScript Error with additional information specific to HTTP responses.

Param: msg

The error message to include.

Param: httpStatus

The HTTP response status code.

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

httpStatus?: number

Generated using TypeDoc