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

Chore/more error macros #2686

Merged
merged 4 commits into from Dec 13, 2022
Merged

Chore/more error macros #2686

merged 4 commits into from Dec 13, 2022

Conversation

jstuczyn
Copy link
Contributor

@jstuczyn jstuczyn commented Dec 13, 2022

Description

Just some housekeeping work trying to keep our errors a bit cleaner. So where it wasn't the case I've derived the thiserror::Error macro, whenever errors are being logged, we're using their Display trait as opposed to Debug and I also tried to improve actual error messages

Checklist:

  • added a changelog entry to CHANGELOG.md

@jstuczyn jstuczyn merged commit 97b01db into develop Dec 13, 2022
@jstuczyn jstuczyn deleted the chore/more-error-macros branch December 13, 2022 17:42
mmsinclair pushed a commit that referenced this pull request Dec 19, 2022
* cleaned up MixProcessingError

* Added Error impl to (hopefully) all error enums in the codebase

* Replaced all occurences of error("{0}") with error(transparent)

* Changelog entry
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.

None yet

1 participant