HTTPErrorResponse
HTTPErrorResponse[code]
是一个对象,表示对 HTTP 请求的错误响应,带有指定的错误代码.
更多信息
- 典型的错误代码包括:
-
"PageNotFound"、"NotFound"、或 404 "PermissionDenied"、"Forbidden"、或 403 "ServerError" 或 500 - HTTPErrorResponse 通常指定为来自诸如 APIFunction 这样构造的结果形式.
范例
基本范例 (1)
Wolfram Research (2015),HTTPErrorResponse,Wolfram 语言函数,https://reference.wolfram.com/language/ref/HTTPErrorResponse.html.
文本
Wolfram Research (2015),HTTPErrorResponse,Wolfram 语言函数,https://reference.wolfram.com/language/ref/HTTPErrorResponse.html.
CMS
Wolfram 语言. 2015. "HTTPErrorResponse." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/HTTPErrorResponse.html.
APA
Wolfram 语言. (2015). HTTPErrorResponse. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/HTTPErrorResponse.html 年