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 HDF5 error handling in pywr-core. #334

Merged
merged 1 commit into from
Jan 22, 2025
Merged

feat: Improve HDF5 error handling in pywr-core. #334

merged 1 commit into from
Jan 22, 2025

Conversation

jetuk
Copy link
Member

@jetuk jetuk commented Jan 20, 2025

Implement #[from] for the HDF5 error. This requires removing the PartialEq and Eq derives for PywrError, and adding a new error variant for HDF5 unicode conversion. This allows neater handling of HDF5 errors in core.

Implement #[from] for the HDF5 error. This requires removing the
`PartialEq` and `Eq` derives for `PywrError`, and adding a new
error variant for HDF5 unicode conversion. This allows neater
handling of HDF5 errors in core.
@jetuk jetuk requested a review from Batch21 January 20, 2025 15:08
@jetuk jetuk merged commit 9462897 into main Jan 22, 2025
7 checks passed
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.

2 participants