HTTPErrorResponse

HTTPErrorResponse[code]

HTTPリクエストに対する,特定のエラーコードを含むエラー応答を表すオブジェクトである.

詳細

  • よく使われるエラーコード
  • "PageNotFound","NotFound"または 404
    "PermissionDenied","Forbidden"または 403
    "ServerError"または 500
  • HTTPErrorResponseは,APIFunction等の構造からの結果として指定されることが多い.

例題

  (1)

HTTPResponseを手動で生成する:

Delayedから「page not found」を返す:

APIFunctionから404を返す:

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 Language. 2015. "HTTPErrorResponse." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HTTPErrorResponse.html.

APA

Wolfram Language. (2015). HTTPErrorResponse. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HTTPErrorResponse.html

BibTeX

@misc{reference.wolfram_2024_httperrorresponse, author="Wolfram Research", title="{HTTPErrorResponse}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/HTTPErrorResponse.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_httperrorresponse, organization={Wolfram Research}, title={HTTPErrorResponse}, year={2015}, url={https://reference.wolfram.com/language/ref/HTTPErrorResponse.html}, note=[Accessed: 21-November-2024 ]}