Any way to seperate constraint errors
Posted: 19.02.2016, 14:22
Squlite and I have two constraints, UNIQUE and CHECK RANGE.
Is there any way to get an error number for the specific error when using try/except/end.
All I get is "SQL Error: Constraint failed" and I'd like to let the user know specifically, what just went wrong.
Is there any way to get an error number for the specific error when using try/except/end.
All I get is "SQL Error: Constraint failed" and I'd like to let the user know specifically, what just went wrong.