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

feat: Improve error messages #108

Merged
merged 1 commit into from
Aug 5, 2024
Merged

feat: Improve error messages #108

merged 1 commit into from
Aug 5, 2024

Conversation

ddeboer
Copy link
Member

@ddeboer ddeboer commented Aug 5, 2024

  • Validate File on construction to prevent invalid object state.
  • Fix errors printed twice.
  • Move error message construction to dedicated error objects.
  • Improve error message clarity. Keep error’s cause for a full stack trace,
    but don’t throw to improve legibility.

@ddeboer ddeboer merged commit 452ed86 into main Aug 5, 2024
1 check passed
@ddeboer ddeboer deleted the improve-error-messages branch August 5, 2024 09:26
Copy link

github-actions bot commented Aug 5, 2024

🎉 This PR is included in version 2.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant