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
sdondetisdondeti 

APEX Webservice with a custom fault

Hello, I am developing a APEX webservice and I would like to send a custom fault(may be something like InvalidDataFault) to consumer when there are any errors during processing..I have referred the documentation and could not come across this case. Just wondering Id that is possible? Thanks for your feedback.