Rationale
Database operation can sometime fail due to various reason. As a best practice, developers should ensure their code is resilient and handles database exceptions gracefully.
Scope
Apex classes and triggers
Enforce the presence of a try/catch block to handle possible exceptions around DML statements.
Database operation can sometime fail due to various reason. As a best practice, developers should ensure their code is resilient and handles database exceptions gracefully.
Apex classes and triggers