Subject: | $dbh->err() only returns generic Primary Result Code List (i.e not more specific Extended Result Code) :/ |
If you use $dbh->do("INSERT …") to insert a row that violates a unique column constraint then $dbh->err() is 19 (SQLITE_CONSTRAINT) not 2067 (SQLITE_CONSTRAINT_UNIQUE)
Is there a way to get err() to support more specific codes (i.e. “Extended Result Code” per https://sqlite.org/rescode.html)?
perl v5.16.0, DBI v1.631, DBD::SQLite v1.54
thanks!