Class
HTTPError
Extends Error
Constructor
new HTTPError(statusCode: number, body: string | null, context?: RequestContext)- statusCode
number- body
string | null- context?
RequestContext
Properties
| Name | Type | Description |
|---|---|---|
| bodyread-only | string | null | |
| isRetryableread-only | boolean | |
| method?read-only | string | |
| path?read-only | string | |
| statusCoderead-only | number |