Replies: 5 comments 5 replies
-
|
https://github.com/grafana/grafana/blob/main/contribute/backend/errors.md |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
|
https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Implemented via #97 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Improving the error handling
Flexprice follows a layered architecture:
Each layer currently implements its own error handling patterns, leading to inconsistency and maintenance challenges. There needs to be a unified approach that provides:
Issues in the Current Solution
1. Inconsistent Error Wrapping
2. Mixed Error Types
3. HTTP Response Handling
There needs to be a solution that's generic and scalable. It should offer transparency to clients with proper classification, along with context and proper logging for internal debugging (for developers)
Beta Was this translation helpful? Give feedback.
All reactions