API reference › @evolu/common › NativeSqlite › NativeSqliteError
Defined in: packages/common/src/NativeSqlite.ts:193
The cause of an error SQLite reported, as @evolu/sqlite-wasm's
SqliteError.
Extends
Typed<"SqliteError">
Properties
cause
readonly cause:
| NativeSqliteCodecFailure
| null;
Defined in: packages/common/src/NativeSqlite.ts:205
extendedCode
readonly extendedCode: number;
Defined in: packages/common/src/NativeSqlite.ts:195
message
readonly message: string;
Defined in: packages/common/src/NativeSqlite.ts:197
sqlite3_errmsg, or sqlite3_errstr when SQLite reported nothing.
operation
readonly operation: NativeSqliteOperation;
Defined in: packages/common/src/NativeSqlite.ts:194
sqlOffset
readonly sqlOffset: number | null;
Defined in: packages/common/src/NativeSqlite.ts:199
Where in the UTF-8 SQL a parser error was found, or null.
systemErrno
readonly systemErrno: number | null;
Defined in: packages/common/src/NativeSqlite.ts:204
The errno of a SQLITE_CANTOPEN or SQLITE_IOERR without a codec failure, or null. It's diagnostic only.
type
readonly type: "SqliteError";
Defined in: packages/common/src/Type.ts:19326