Hi all,
I want to create a dedicated page to inform users that an unexpected error has occurred.
I want to use the Application level 'Error Handling Function' to accomplish this.
I have created the function described here https://docs.oracle.com/database/apex-18.1/AEAPI/Example-of-an-Error-Handling-Function.htm#AEAPI2216
When I add code that intentionally divides by zero (in a page), the Error Handling function is called and the error is changed to something nicer than the standard ugly error message.
But when I add a redirect to another page at the bottom of this generic error trapping function, an ORA-20876: Stop APEX Engine is raised and the redirecting does not happen.
Also the original, ugly standard error message reappears.
Is redirecting not allowed here?
Can anybody tell me how I can accomplish this redirecting?