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

Add Exception Handler #7

Open
aprajshekhar opened this issue Nov 16, 2023 · 0 comments
Open

Add Exception Handler #7

aprajshekhar opened this issue Nov 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@aprajshekhar
Copy link
Member

Is your chore related to a problem? Please describe

Exceptions create 500 Internal Server Error. Even when exceptions are the result of connection error or error sent by clients/upstream systems.

Describe the solution you'd like

For any exception that relates to internal or upstream system should provide specific errors:

  • 500 for internal exceptions
  • 502/503 for upstream exceptions

The response should have:

  • status
  • short message w/r/t exception
  • detailed message w/r/t exception

Describe alternatives you've considered

None

Additional context

None

@aprajshekhar aprajshekhar added the enhancement New feature or request label Nov 16, 2023
@aprajshekhar aprajshekhar self-assigned this Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant