Skip to content

Add Exception Handler #7

Description

@aprajshekhar

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions