Skip to content

feat(errors): improve error handling with thiserror #11

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

Merged
merged 2 commits into from
Jan 25, 2025
Merged

Conversation

cmackenzie1
Copy link
Owner

  • Add thiserror dependency for better error handling
  • Enhance Error enum with descriptive messages using thiserror derive macro
  • Add comprehensive documentation with examples for Claims and JwtDecoder
  • Remove manual Error implementations in favor of #[from] derives
  • Add new JwksRefresh error variant for better error reporting

- Add thiserror dependency for better error handling
- Enhance Error enum with descriptive messages using thiserror derive macro
- Add comprehensive documentation with examples for Claims and JwtDecoder
- Remove manual Error implementations in favor of #[from] derives
- Add new JwksRefresh error variant for better error reporting
- Move full example from lib.rs to external examples directory
- Remove redundant example from Claims struct documentation
- Remove manual Error impl in favor of derived From traits
- Add link to GitHub examples in main documentation
@cmackenzie1 cmackenzie1 merged commit 1438d1f into main Jan 25, 2025
1 check passed
@cmackenzie1 cmackenzie1 deleted the cole/docs branch January 25, 2025 22:30
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