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

Centralize Error Definitions into a Spec Based Error Model #8

Open
abhisek opened this issue Nov 18, 2022 · 0 comments
Open

Centralize Error Definitions into a Spec Based Error Model #8

abhisek opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@abhisek
Copy link
Member

abhisek commented Nov 18, 2022

Problem

Error strings are spread across the code. Error strings are difficult to handle by a client.

Requirements

We need to define a spec for representing an error that should contain at least:

  • Internal Error Code
  • Error message
  • Error type / category (to allow mapping error to HTTP or GRPC error codes)
@abhisek abhisek added enhancement New feature or request good first issue Good for newcomers labels Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant