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

[Feature] : Differentiate real server exception(5xx) vs client exceptions(4xx) #69

Open
11 tasks
sriharsha2587 opened this issue Mar 14, 2024 · 0 comments
Open
11 tasks
Labels
enhancement New feature or request

Comments

@sriharsha2587
Copy link

Is your feature request related to a problem? Please describe.

Unable to know with the response in failover library whether its a real server exception or a client exception

Describe the solution you'd like

It would be nice to parameterize the exceptions that failover library can consider like 5xx exceptions and exclude others. May be dependes on the consumers of the library to choose what exceptions they want to handle as part of failover.

Describe alternatives you've considered

As a tactical, we can also provide a status code of the exception in the response so that client can decide what they want to do with a specific exception.

Which module is impacted

The impacted modules are :

  • failover-domain
  • [x ] failover-core
  • failover-store-inmemory
  • failover-store-caffeine
  • failover-store-jdbc
  • failover-store-async
  • failover-aspect
  • failover-scheduler
  • failover-lookup
  • failover-execution-resilience
  • failover-spring-boot-autoconfigure
  • failover-spring-boot-starter

Additional context

Add any other context or screenshots about the feature request here.

@sriharsha2587 sriharsha2587 added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant