Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApplicationException Handler #274

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

jmartinez5120
Copy link
Contributor

In this PR, I am adding a new exception handler, which extracts the Exception from the http/gRPC/GraphQL layer. The exceptions thrown in the ApplicationException class are generic and not associated to the API layer, later to be introduced. Also, I have added the mapping for the REST layer that lays on the ControllerAdvice class. Unit testing was also added to make sure the mapping to the REST layer is working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants