Class

HTTPError

Extends Error

Constructor

new HTTPError(statusCode: number, body: string | null, context?: RequestContext)
statusCode
number
body
string | null

Properties

NameTypeDescription
bodyread-onlystring | null
isRetryableread-onlyboolean
method?read-onlystring
path?read-onlystring
statusCoderead-onlynumber