SQLite Forum

Bug report: inconsistent error message across different CONSTRAINT types
Login
>You are not supposed to try to parse error messages in code.

Why not? As a developer we may find such errors acceptable and workable, but when presenting errors in an application to an end-user they really should be more userfriendly. And when said error is caused by bad or missing input it would be nice if the cursor could be placed in the offending field.