Class: HttpClientResponseError<ResponseData, RequestBody, RequestQuery>
Обновлено 30 мая 2024
Type parameters
Name | Type |
---|---|
ResponseData | ResponseData |
RequestBody | RequestBody |
RequestQuery | extends BaseRequestQuery | void |
Hierarchy
Error
↳
HttpClientResponseError
Table of contents
Constructors
Properties
Constructors
constructor
• new HttpClientResponseError<ResponseData
, RequestBody
, RequestQuery
>(message
, response
, replaceResponseData?
)
Type parameters
Name | Type |
---|---|
ResponseData | ResponseData |
RequestBody | RequestBody |
RequestQuery | extends void | BaseRequestQuery |
Параметры
Name | Type |
---|---|
message | string |
response | HttpClientResponse <ResponseData , RequestBody , RequestQuery > |
replaceResponseData? | ResponseData |
Overrides
Error.constructor
Properties
data
• Readonly
data: ResponseData
headers
• Readonly
headers: Headers
ok
• Readonly
ok: false
originalResponse
• Readonly
originalResponse: Response
redirected
• Readonly
redirected: boolean
request
• Readonly
request: HttpClientRequest
<RequestBody
, RequestQuery
>
status
• Readonly
status: number
statusText
• Readonly
statusText: string
type
• type: "HttpClientResponseError"