Cross platform interface api for sqlite3_errcode
int errcode(cpf.PtrSqlite3 db) => _sqlite.errcode(db);