APIError
new APIError(message, statusCode)Parameters
Name | Type | Description |
---|---|---|
message
|
string | |
statusCode
|
number |
Extends
- Error
Instance Properties
message
message: stringError message
Type
- string
statusCode
statusCode: numberHTTP Status Code
Type
- number