Class
HTTPError
Extends Error
Constructor
new HTTPError
(statusCode: number, body: string | null, context?: RequestContext)| Param | Type | Description |
|---|---|---|
| statusCode | number | |
| body | string | null | |
| context? | RequestContext |
Properties
body
: string | null (readonly)isRetryable
: boolean (readonly)method
?: string (readonly)path
?: string (readonly)statusCode
: number (readonly)