i'm trying to find out if there is a way to get the type of exception without explicitly implementing all predefined Exceptions in a when clause.
I wrote a function to send a mail. I call this function in the when others clause of a PL/SQL Procedure, is there a way to pass the type as a varchar or something?
It would be excelling to get the Exception message to pass as an argument too.
regards