The system function serviceLib.getCurrentCallbackResponse provides access to details from the HTTP response that is received by a callback function or onException function in a Rich UI application.
serviceLib.getCurrentCallbackResponse()
returns (result HTTPResponse)
The invocation returns a record that is based on the Record part HTTPResponse, which is provided for you and has the following fields:
Important status codes include 200 (OK) and 404 (Not Found). For a complete list, go to the website of the World Wide Web Consortium (http://www.w3.org/) and search for "HTTP status code."
Important status messages include OK (code 200) and Not Found (code 404). For a complete list, go to the website of the World Wide Web Consortium (http://www.w3.org/) and search for "HTTP status code."