What is Raise_application_error in oracle?
Raise_application_error allows users to create custom error messages.
Syntax :Raise_application_error (error_number error_messages);
Here, error_number is between -20000 to -20999 because remaining numbers are for Oracle. Message can be varchar(2000)
They are most commonly used to handle unwanted and unmanageable exceptions.