developmentseed / developmentseed/async-tiff
Improved Python error handling
Open
- Dominant language
- Rust
- Stars
- 120
- Forks
- 15
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 9
Description
In https://github.com/developmentseed/async-tiff/pull/140/commits/6d7cb006811e58a74b08a7cc1d2980ffc9749f0c I add very simple error handling on the Python side, where ObjectStore `NotFound` errors are converted to a Python `FileNotFoundError` but everything else gets transformed into an opaque `AsyncTiffException` with a string.
It would probably be nice to define more Python facing exceptions and transform various types of Rust-side errors into those Python exceptions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.