Here is the extension, if relevant: public with sharing class GetMedicals { public List lstMedicals{get;set;} public GetMedicals() { } public GetMedicals(ApexPages.StandardController controller) { lstMedicals = [Select Id, Name, Provider_Name__c, Disburse__c, Disbursement_Note__c From Medical_Bill__c LIMIT 10 ]; } public pagereference saveme() { try { update lstMedicals; } catch(Exception e) { System.debug('Exception occurred '+String.valueOf(e)); } return NULL; } } ",
"answerCount": 1,
"upvoteCount": 0,
"datePublished": "2020-01-07T14:24:02.000Z",
"author": {
"@type": "Person",
"name": "Jacob Elliott",
"url": "https://trailblazers.salesforce.com/profileView?u=0053A00000EDSKfQAP",
"affiliation": {
"@type": "Organization",
"name": "HawkLaw"
}
},
"acceptedAnswer": {
"@type": "Answer",
"text": "I ended up using a validation rule on the object and using apex to display that same error when the dml update failed. Page: