1

I'm trying to display an error message in the managed package visualforce page through trigger by using the .adderror() method. But the VF page doesn't have <apex:messages/> tag in it and the error message shows up as an unexpected exception. Is there a way not to show the custom message as an exception? Just an Update- The Page has in it

1

In short, no. If the developer hasn't enabled the ability for a partial success/rendering error messages, you can't fix it. You would need to contact the developer and ask them to fix their code, because their error handling is apparently insufficient.

  • The VF has <apex:pageMessage/> in it – cartman Jun 8 '17 at 19:15
  • @cartman Still, if they don't catch the error, they will get an unexpected exception. – sfdcfox Jun 8 '17 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.