Use Case
When resolve() fails, it always raises a generic Exception, which makes it hard to tell the difference between that and other issues, like a temporary network outage. I would like to have more specific exception classes so my code can handle them differently.
Requirements and desired behavior
Some ideas for exceptions:
- InvalidSecretRef
- VaultNotFound
- ItemNotFound
- FieldNotFound
If you think this is too specific, you could at least have one for ResolvingSecretReference.
Additional information
No response
Use Case
When
resolve()fails, it always raises a generic Exception, which makes it hard to tell the difference between that and other issues, like a temporary network outage. I would like to have more specific exception classes so my code can handle them differently.Requirements and desired behavior
Some ideas for exceptions:
If you think this is too specific, you could at least have one for
ResolvingSecretReference.Additional information
No response