Replies: 1 comment
-
@FroMage If I understand #48654 (comment) correctly, the answer is that it isn't currently possible but might be in the future? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
When using an external dependency such as a database client, there can be a mix of resource-specific (e.g., constraint violation) and general (e.g., connection error) failures. Is it, or can it be, possible for a resource-specific
@ServerExceptionMapper
to propagate an general or unhandled exception to the global instance?Contrived Example
When

ArithmeticException("A generic error occurred!")
is thrown, it would be ergonomic for it to be caught byExceptionMappers#mapException
.(
ArithmeticException
is a placeholder for your typical database or external dependency exception.)Beta Was this translation helpful? Give feedback.
All reactions