Home > @shlack/utils > HTTPError > (constructor)
HTTPError.(constructor)
Constructs a new instance of the HTTPError
class
Signature:
constructor(info: {
statusText: string;
status: number;
}, message: string);
Parameters
Parameter | Type | Description |
---|---|---|
info | { statusText: string; status: number; } | |
message | string |