If I understood properly you are asking about exceptions in salesforce.
An exception denotes an error that disrupts the normal flow of code execution. You can use Apex built-in exceptions or create custom exceptions. All exceptions have common methods.
If I understood properly you are asking about exceptions in salesforce.
An exception denotes an error that disrupts the normal flow of code execution. You can use Apex built-in exceptions or create custom exceptions. All exceptions have common methods.
Please refer below link.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_exception_methods.htm
Hope this helps you!
If this helps you please mark it as solved.
Thanks and Regards
Sandhya