-
-
Notifications
You must be signed in to change notification settings - Fork 482
It would be easier to deal with errors if the error kind is made pub #583
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
Comments
Duplicate of #571? |
Any update? This is absolutely necessary to handle error properly when cause is None. |
I mean if it's a matter of removing 4 chars from a file anyone concerned could send a patch. |
I've run into this from the same place @palfrey seems to: trying to figure out if it's worth retrying the request (c.f. djc/bb8#141). @sfackler would you be open to a PR simliar to #739 that exposes a method with this information? One possible difficulty is identifying which kinds of errors should be included. @palfrey's workaround looks for |
Hi,
Some errors, like closed, column, and row_count, don't have a cause (None). for these errors, there is no way to know the actual underlayer error as the error kind is not exposed.
It would be easier if the error kind is made public.
Thanks,
The text was updated successfully, but these errors were encountered: