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 Answer 1

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .