You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to use circuit breaker instance in our healthcheck reporting. Would be nice if cb instance was able to report which errors triggered it to fail.
If that's something you consider useful for this library we can send a PR.
The text was updated successfully, but these errors were encountered:
so we envision a couple of additional api methods, it will stay compatible:
FailWithError(error)
Error() error - return last error
Errors() []error - return history of errors
I'm not sure yet how we configure history depth. Do you have any suggestions?
We want to use circuit breaker instance in our healthcheck reporting. Would be nice if cb instance was able to report which errors triggered it to fail.
If that's something you consider useful for this library we can send a PR.
The text was updated successfully, but these errors were encountered: