On 13 Jul 2009, at 2:17am, Jim Showalter wrote:

> However, calling insertOrThrow raises SQLiteConstraintException, which
> does not contain the text of the raise specified in the schema.
> Instead, it just has:
> error code 19: constraint failed
>
>
>
> Is there any way to get SQLite to honor the message in the raise in
> the schema definition?

You're the second person to report this problem recently.  Can I ask  
how you're getting the text of the error message ?  If you just look  
up 19 it will obviously give you the standard error text for 19, but  
if you call the functions at

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

you should get the right text.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to