The Exception_Class() function returns the class of the current exception.
Exception_Class()
• None
A long integer containing the class of the current exception.
The Exception_Class() function must be used in the catch or else block of the try...end try statement.