Does anyone know of a method to retrieve the LR Error code within the script itself? I have a colleague who wants to know the code so that he can handle certain timeout errors in a specific way. So looking to be able to retrieve the e.g. format -26717 code within the script.
The Return code of the function call does not return anything of use, nor does the web_get_info as the http code doesn't help.

Looking specifically for the error code that shows up in the controller from the specific error.