Home > @shlack/utils > HTTPError
HTTPError class
An error that’s associated with a HTTP response status code
Signature:
export default class HTTPError extends Error
Extends: Error
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(info, message) | Constructs a new instance of the HTTPError class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
kind | HTTPErrorKind |