Closed
Description
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 an errorCode
Steps to reproduce
- Register a provider that returns a
ResolutionDetails
object with anerrorCode
- Register a hook that relies on the error hook
- Evaluate a flag