HTTPError

libflitter/errors/HTTPError~ HTTPError

An Error class for HTTP response errors.


Constructor

new HTTPError(status, msgopt)

Instantiate the error.

Parameters:
Name Type Attributes Default Description
status number 500

the HTTP status code

msg <optional>

the HTTP status message. If not provided, the default message for the status code is used.

Extends

  • Error