Typescript SDK Type Docs
Preparing search index...
Import API SDK
HttpErrorType
Type Alias HttpErrorType
type
HttpErrorType
=
{
body
?:
JsonObject
;
code
?:
string
;
error
?:
JsonObject
;
headers
?:
Record
<
string
,
any
>
;
message
?:
string
;
method
:
MethodType
;
name
?:
string
;
originalRequest
?:
ClientRequest
;
retryCount
?:
number
;
status
?:
number
;
statusCode
:
number
;
[
key
:
string
]:
any
;
}
Indexable
[
key
:
string
]:
any
Index
Properties
body?
code?
error?
headers?
message?
method
name?
original
Request?
retry
Count?
status?
status
Code
Properties
Optional
body
body
?:
JsonObject
Deprecated
use
error
instead
Optional
code
code
?:
string
Optional
error
error
?:
JsonObject
Optional
headers
headers
?:
Record
<
string
,
any
>
Optional
message
message
?:
string
method
method
:
MethodType
Optional
name
name
?:
string
Optional
original
Request
originalRequest
?:
ClientRequest
Optional
retry
Count
retryCount
?:
number
Optional
status
status
?:
number
status
Code
statusCode
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
code
error
headers
message
method
name
original
Request
retry
Count
status
status
Code
Typescript SDK Type Docs
Loading...
Deprecated
use
errorinstead