feat(jans-cedarling): Improve error message if json parsing of policy store failed #11216
Labels
comp-jans-cedarling
Touching folder /jans-cedarling
enhancement
kind-feature
Issue or PR is a new feature request
Milestone
Is your feature request related to a problem? Please describe.
Iimprove error message if json parsing of policy store failed.
Describe the solution you'd like
It looks like the "missing ..." message is an error from the serde library. We don’t have full control over this message. However, it’s possible to implement a custom
serde::Serializer
trait implementation for each type we use. This would require significant effort but would give us more control over the returned error messages.https://serde.rs/impl-serializer.html
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: