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

Error Handler Middleware #36

Open
scottbot95 opened this issue Jul 30, 2019 · 0 comments
Open

Error Handler Middleware #36

scottbot95 opened this issue Jul 30, 2019 · 0 comments
Labels
Store-Backend Disunity.Store backend

Comments

@scottbot95
Copy link
Contributor

In an effort to standardize our error reporting to the client, we should create a custom error handling middleware (see).

This would enable us to simply throw an exception when we want to report an error to the user instead of mucking about with a response factory. The exception we throw probably should contain a StatusCode and maybe some Header information as well to help customize the response.

@scottbot95 scottbot95 changed the title Error Handler Error Handler Middleware Jul 31, 2019
@dustinlacewell dustinlacewell transferred this issue from disunity-hq/store Aug 10, 2019
@dustinlacewell dustinlacewell added the Store-Backend Disunity.Store backend label Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Store-Backend Disunity.Store backend
Projects
None yet
Development

No branches or pull requests

2 participants