Skip to content
New issue

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

Improve error messages when unmarshaling map values #119

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

oschwald
Copy link
Owner

  • Add type information to unmarshaling error messages
  • Wrap errors when decoding map values

This adds the key name, in particular, which can make it much easier
to understand which field has an issue.
@oschwald oschwald merged commit c1361f0 into main Jun 2, 2024
17 checks passed
@oschwald oschwald deleted the greg/improve-errors branch June 2, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant