Skip to content

Improve error handling#76

Merged
rth merged 7 commits intomasterfrom
impr-error-handling
Jun 14, 2020
Merged

Improve error handling#76
rth merged 7 commits intomasterfrom
impr-error-handling

Conversation

@rth
Copy link
Copy Markdown
Owner

@rth rth commented Jun 13, 2020

Improves error handling by,

  • switching to thiserror for deriving Error structs
  • rename error::VTextError to error::EstimatorErr with better enum variants
  • add explicit conversion to pyo3::PyErr with impl From<EstimatorErr> for pyo3::PyErr

@rth rth merged commit 3d6585a into master Jun 14, 2020
@rth rth deleted the impr-error-handling branch June 14, 2020 14:32
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