We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The error hook only runs if the provider throws an exception. However, it's possible for a provider to return an error code in the ResolutionDetails.
ResolutionDetails
The error hook runs if the ResolutionDetails contains an errorCode
errorCode
The text was updated successfully, but these errors were encountered:
We should add some clarifying text to the spec once this issue is addressed.
https://openfeature.dev/specification/sections/hooks#requirement-437
Sorry, something went wrong.
fix: run error hook when provider returns reason error or error code (#…
c6d0b5d
…926) ## This PR - runs error hook when provider returns reason error or error code ### Related Issues Fixes #925 ### Notes Based on a conversation in Slack: https://cloud-native.slack.com/archives/C06E4DE6S07/p1714581197391509 --------- Signed-off-by: Michael Beemer <[email protected]>
beeme1mr
Successfully merging a pull request may close this issue.
Observed behavior
The error hook only runs if the provider throws an exception. However, it's possible for a provider to return an error code in the
ResolutionDetails
.Expected Behavior
The error hook runs if the
ResolutionDetails
contains anerrorCode
Steps to reproduce
ResolutionDetails
object with anerrorCode
The text was updated successfully, but these errors were encountered: