sqlite-simple icon indicating copy to clipboard operation
sqlite-simple copied to clipboard

use column_database_name etc accessor functions for better error messages

Open nurpax opened this issue 12 years ago • 1 comments

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 avatar Dec 17 '12 20:12 nurpax

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.

nurpax avatar May 07 '13 20:05 nurpax