Replies: 1 comment 1 reply
-
A generic Exception will be converted to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Is there a way to return errors from observers? I am trying to return a custom Exception for example :
throw new \Exception('My Exception Message.');
but it always throws the same two error messages:
The resource was prevented from being saved!
and
There was a problem submitting the form.
Beta Was this translation helpful? Give feedback.
All reactions