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

The error message to include.

The HTTP response status code.

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

httpStatus?: number