I need to show the error message while save the record from UI through plugin. I registered the Plugin in Pre-Operation.
I used throw new InvalidPluginExecutionException("custom message here"). But its showing the Error details along with the custom message.
Now I need to show only Custom message and don't want to show the error details in the alert. How can I achieve this?
TIA
*This post is locked for comments