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

Enhance Error Handling Across ThrottleX #14

Open
neelp03 opened this issue Oct 18, 2024 · 0 comments
Open

Enhance Error Handling Across ThrottleX #14

neelp03 opened this issue Oct 18, 2024 · 0 comments

Comments

@neelp03
Copy link
Owner

neelp03 commented Oct 18, 2024

Description:
Review and enhance error handling across the codebase to ensure all errors are informative and follow Go's best practices (e.g., using errors.Is and errors.As for error wrapping).

Acceptance Criteria:

  • Ensure consistent error handling in rate-limiting algorithms and middleware.
  • Return informative error messages in cases such as rate limit exceeded, IP extraction failure, etc.
  • Add unit tests to validate proper error propagation and error messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant