- Notifications
You must be signed in to change notification settings - Fork515
Make error::Kind public#1185
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
BaptisteRoseau commentedDec 4, 2024
Also made it here#1138 with a few test cases but it seems like it won't be merge any time soon.. |
Aceeri commentedDec 11, 2024
This is something I also would love, I've just ended up doing |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
ToSql(usize), | ||
FromSql(usize), |
paolobarboliniSep 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Theseusize
s are very ambiguous. Is this the index of the column? We should document it.
EDIT: or even convert it into something along the lines of:
FromSql{column_index: usize,}
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
Uh oh!
There was an error while loading.Please reload this page.
Make
error::Kind
public and provide a getter. This allows lib/app code to handle different kind of errors, e.g.I documented errors I know about, but the ones I don't know what they do I left undocumented, hiding the doc warning.