Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(Response オブジェクトの) ErrorCodeErrorMessage プロパティを使ってエラーを取得します。

     Define_Com Class(#XPRIM_HttpRequest) Name(#Request)
...
#OK := #Request.Response.IsSuccessfulRequest
#ErrorMessage := ​#Request.Response.ErrorMessage
#ErrorCode := ​#Request.Response.

...

ErrorCode 

...

Note

Response.ErrorCode  Response.ErrorMessage は、HTTP/

...

ネットワーク層で発生したエラーを示すことに注意してください。エラーがアプリケーション・レベルで発生した場合 (送信した承認トークンが有効でないなど)、エラーは Response.ErrorCode/Response.ErrorMessage には反映されません。

次は: 要求が正常に終了したかを確認