function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dream_weaverDream_weaver 

Is it possible to capture system validation error in a custom object

I have a custom object which will capture error logs..Custom validation errors are listed in the object successfully..but standard errors are not listed..I have used Try catch block...Any suggestion  please!!!!!!!..It is possible in Salesforce at all ????

kiranmutturukiranmutturu

In the apex code when ever catch block is executing means you got a system exception if you didn't manually miss any thing then in the catch block create a custom object record with the error details.... hope this will work....