-
Notifications
You must be signed in to change notification settings - Fork 364
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
Improve error propagation #812
Comments
Personally, I like the approach we took in On the python side we would then of course have to map this again to python native or custom errors we define there ... Recently I took one step in that direction in #784. |
FWIW there is an issue in the arrow repo related to error handling that might be of interest - apache/arrow-rs#2725 |
This error in particular seems to obscure a lot of authentication and connectivity issues:
|
@wjones127 perhaps there is a change of semantic in how objectstore-rs handles 403 errors compared to the previous rusoto implementation? The current |
Description
I'm starting to think we could do a better job of propagating errors, particularly up to Python. For example, we have to detect errors in Python through strings right now:
delta-rs/python/deltalake/writer.py
Lines 309 to 318 in 0a0b1fe
I'll try to think more about this, but if anyone's seen another library that approaches this well, I'd love a reference.
Use Case
Related Issue(s)
The text was updated successfully, but these errors were encountered: