-
Notifications
You must be signed in to change notification settings - Fork 0
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
As a dev, I need to make sure error codes does not overlap in proto files #25
Labels
bug
Something isn't working
Comments
What about something like this ? Or start at 1000 to avoid with http ? @Dr0p42
|
jravenel
changed the title
fix: Make sure error codes does not overlap
As a dev, I need to make sure error codes does not overlap in proto files
Jun 6, 2024
@Dr0p42 , is it still a bug? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
Problem
When defining error codes in proto files, there is a risk of overlapping codes which can lead to confusion and misinterpretation of error responses. This can be a critical issue, especially when handling HTTP status codes.
Solution
To prevent this issue, we need to establish and maintain a system or protocol for managing and assigning unique error codes across all our proto files. This system should ensure that each error code is distinct and clearly documented to prevent any ambiguity.
Action Items
By addressing this issue proactively, we can enhance the clarity and reliability of our error handling mechanisms within the project.
The text was updated successfully, but these errors were encountered: