For each of the sqlite3.* API, there can be an error code which should be checked. If the code corresponds to an error the related error message can be retrieve
sqlite3.*