Auto Task API
Preparing search index...
modules/social/httpFailure
httpFailureDetails
Function httpFailureDetails
httpFailureDetails
(
result
:
{
data
?:
{
response
?:
unknown
;
responseText
?:
string
;
status
:
number
}
;
result
:
string
;
status
:
number
;
}
,
)
:
Record
<
string
,
string
|
number
|
boolean
>
只提取接口的错误说明,不把响应正文、请求参数或授权信息写入状态事件。 HTTP 200 也可能包含业务错误;HTML 错误页不作为错误说明展示。
Parameters
result
:
{
data
?:
{
response
?:
unknown
;
responseText
?:
string
;
status
:
number
}
;
result
:
string
;
status
:
number
;
}
Returns
Record
<
string
,
string
|
number
|
boolean
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Auto Task API
Loading...
只提取接口的错误说明,不把响应正文、请求参数或授权信息写入状态事件。 HTTP 200 也可能包含业务错误;HTML 错误页不作为错误说明展示。