Skip to content
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

use column_database_name etc accessor functions for better error messages #20

Open
nurpax opened this issue Dec 17, 2012 · 1 comment
Open

Comments

@nurpax
Copy link
Owner

nurpax commented Dec 17, 2012

When hitting conversion errors in type conversion in row/field parsers, the function in:

http://www.sqlite.org/c3ref/column_database_name.html

might be useful for more descriptive error message - it'd be helpful to show the name of the offending table and column that was erroneous.

@nurpax
Copy link
Owner Author

nurpax commented May 7, 2013

Hmm, it'd require a bit of plumbing to pass down the current Statement down to the FromField parsers. It's a bit messy now, probably should refactor how this works to make it easier to improve error message construction. Perhaps close out issue #23 while at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant