We make calls to functions in a backend DLL that we have developed and these functions make REST calls to certain services.
How can we manage the application exceptions generated by these calls? (These calls are made from the CodeBehind and therefore not from an automatic action)
You can use the try-catch blocks in code behind and alert the error message returned or you can customize an error message based on the exception returned.
Here is an example of how to make Javascript calls from code behind: