API Reference
@univerjs
@univerjs/network
classes
Httpresponseerror

@univerjs/network v0.4.2Docs


Class: HTTPResponseError

Constructors

new HTTPResponseError()

new HTTPResponseError(__namedParameters): HTTPResponseError

Parameters

ParameterType
__namedParametersobject
__namedParameters.errorany
__namedParameters.headers?HTTPHeaders
__namedParameters.status?number
__namedParameters.statusText?string

Returns

HTTPResponseError

Defined in

packages/network/src/services/http/response.ts:106 (opens in a new tab)

Properties

PropertyModifierTypeDefined in
errorreadonlyanypackages/network/src/services/http/response.ts:104 (opens in a new tab)
headers?readonlyHTTPHeaderspackages/network/src/services/http/response.ts:101 (opens in a new tab)
status?readonlynumberpackages/network/src/services/http/response.ts:102 (opens in a new tab)
statusText?readonlystringpackages/network/src/services/http/response.ts:103 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.