/** * Base error properties shared by all SQLite errors. */ interface SQLiteErrorProps { readonly message: string; readonly cause?: unknown; } declare const SQLiteError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_ERROR"; } & Readonly; /** * SQLITE_ERROR (1) - Generic error code. */ export declare class SQLiteError extends SQLiteError_base { } declare const SQLiteInternal_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_INTERNAL"; } & Readonly; /** * SQLITE_INTERNAL (2) - Internal malfunction. */ export declare class SQLiteInternal extends SQLiteInternal_base { } declare const SQLitePerm_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_PERM"; } & Readonly; /** * SQLITE_PERM (3) - Access permission denied. */ export declare class SQLitePerm extends SQLitePerm_base { } declare const SQLiteAbort_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_ABORT"; } & Readonly; /** * SQLITE_ABORT (4) - Operation aborted. */ export declare class SQLiteAbort extends SQLiteAbort_base { } declare const SQLiteBusy_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_BUSY"; } & Readonly; /** * SQLITE_BUSY (5) - Database file is locked. */ export declare class SQLiteBusy extends SQLiteBusy_base { } declare const SQLiteLocked_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_LOCKED"; } & Readonly; /** * SQLITE_LOCKED (6) - A table in the database is locked. */ export declare class SQLiteLocked extends SQLiteLocked_base { } declare const SQLiteNomem_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOMEM"; } & Readonly; /** * SQLITE_NOMEM (7) - Memory allocation failed. */ export declare class SQLiteNomem extends SQLiteNomem_base { } declare const SQLiteReadonly_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY"; } & Readonly; /** * SQLITE_READONLY (8) - Attempt to write a readonly database. */ export declare class SQLiteReadonly extends SQLiteReadonly_base { } declare const SQLiteInterrupt_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_INTERRUPT"; } & Readonly; /** * SQLITE_INTERRUPT (9) - Operation interrupted. */ export declare class SQLiteInterrupt extends SQLiteInterrupt_base { } declare const SQLiteIoerr_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR"; } & Readonly; /** * SQLITE_IOERR (10) - I/O error. */ export declare class SQLiteIoerr extends SQLiteIoerr_base { } declare const SQLiteCorrupt_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CORRUPT"; } & Readonly; /** * SQLITE_CORRUPT (11) - Database disk image is malformed. */ export declare class SQLiteCorrupt extends SQLiteCorrupt_base { } declare const SQLiteNotfound_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOTFOUND"; } & Readonly; /** * SQLITE_NOTFOUND (12) - Unknown opcode or table not found. */ export declare class SQLiteNotfound extends SQLiteNotfound_base { } declare const SQLiteFull_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_FULL"; } & Readonly; /** * SQLITE_FULL (13) - Database or disk is full. */ export declare class SQLiteFull extends SQLiteFull_base { } declare const SQLiteCantopen_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN"; } & Readonly; /** * SQLITE_CANTOPEN (14) - Unable to open database file. */ export declare class SQLiteCantopen extends SQLiteCantopen_base { } declare const SQLiteProtocol_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_PROTOCOL"; } & Readonly; /** * SQLITE_PROTOCOL (15) - Database lock protocol error. */ export declare class SQLiteProtocol extends SQLiteProtocol_base { } declare const SQLiteEmpty_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_EMPTY"; } & Readonly; /** * SQLITE_EMPTY (16) - Internal use only. */ export declare class SQLiteEmpty extends SQLiteEmpty_base { } declare const SQLiteSchema_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_SCHEMA"; } & Readonly; /** * SQLITE_SCHEMA (17) - Database schema changed. */ export declare class SQLiteSchema extends SQLiteSchema_base { } declare const SQLiteToobig_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_TOOBIG"; } & Readonly; /** * SQLITE_TOOBIG (18) - String or BLOB exceeds size limit. */ export declare class SQLiteToobig extends SQLiteToobig_base { } declare const SQLiteConstraint_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT"; } & Readonly; /** * SQLITE_CONSTRAINT (19) - Constraint violation. */ export declare class SQLiteConstraint extends SQLiteConstraint_base { } declare const SQLiteMismatch_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_MISMATCH"; } & Readonly; /** * SQLITE_MISMATCH (20) - Data type mismatch. */ export declare class SQLiteMismatch extends SQLiteMismatch_base { } declare const SQLiteMisuse_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_MISUSE"; } & Readonly; /** * SQLITE_MISUSE (21) - Library used incorrectly. */ export declare class SQLiteMisuse extends SQLiteMisuse_base { } declare const SQLiteNolfs_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOLFS"; } & Readonly; /** * SQLITE_NOLFS (22) - Uses OS features not supported on host. */ export declare class SQLiteNolfs extends SQLiteNolfs_base { } declare const SQLiteAuth_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_AUTH"; } & Readonly; /** * SQLITE_AUTH (23) - Authorization denied. */ export declare class SQLiteAuth extends SQLiteAuth_base { } declare const SQLiteFormat_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_FORMAT"; } & Readonly; /** * SQLITE_FORMAT (24) - Not used. */ export declare class SQLiteFormat extends SQLiteFormat_base { } declare const SQLiteRange_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_RANGE"; } & Readonly; /** * SQLITE_RANGE (25) - 2nd parameter to sqlite3_bind out of range. */ export declare class SQLiteRange extends SQLiteRange_base { } declare const SQLiteNotadb_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOTADB"; } & Readonly; /** * SQLITE_NOTADB (26) - File opened that is not a database file. */ export declare class SQLiteNotadb extends SQLiteNotadb_base { } declare const SQLiteNotice_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOTICE"; } & Readonly; /** * SQLITE_NOTICE (27) - Notifications from sqlite3_log(). */ export declare class SQLiteNotice extends SQLiteNotice_base { } declare const SQLiteWarning_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_WARNING"; } & Readonly; /** * SQLITE_WARNING (28) - Warnings from sqlite3_log(). */ export declare class SQLiteWarning extends SQLiteWarning_base { } declare const SQLiteAbortRollback_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_ABORT_ROLLBACK"; } & Readonly; export declare class SQLiteAbortRollback extends SQLiteAbortRollback_base { } declare const SQLiteAuthUser_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_AUTH_USER"; } & Readonly; export declare class SQLiteAuthUser extends SQLiteAuthUser_base { } declare const SQLiteBusyRecovery_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_BUSY_RECOVERY"; } & Readonly; export declare class SQLiteBusyRecovery extends SQLiteBusyRecovery_base { } declare const SQLiteBusySnapshot_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_BUSY_SNAPSHOT"; } & Readonly; export declare class SQLiteBusySnapshot extends SQLiteBusySnapshot_base { } declare const SQLiteBusyTimeout_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_BUSY_TIMEOUT"; } & Readonly; export declare class SQLiteBusyTimeout extends SQLiteBusyTimeout_base { } declare const SQLiteCantopenConvpath_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN_CONVPATH"; } & Readonly; export declare class SQLiteCantopenConvpath extends SQLiteCantopenConvpath_base { } declare const SQLiteCantopenDirtywal_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN_DIRTYWAL"; } & Readonly; export declare class SQLiteCantopenDirtywal extends SQLiteCantopenDirtywal_base { } declare const SQLiteCantopenFullpath_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN_FULLPATH"; } & Readonly; export declare class SQLiteCantopenFullpath extends SQLiteCantopenFullpath_base { } declare const SQLiteCantopenIsdir_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN_ISDIR"; } & Readonly; export declare class SQLiteCantopenIsdir extends SQLiteCantopenIsdir_base { } declare const SQLiteCantopenNotempdir_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN_NOTEMPDIR"; } & Readonly; export declare class SQLiteCantopenNotempdir extends SQLiteCantopenNotempdir_base { } declare const SQLiteCantopenSymlink_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CANTOPEN_SYMLINK"; } & Readonly; export declare class SQLiteCantopenSymlink extends SQLiteCantopenSymlink_base { } declare const SQLiteConstraintCheck_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_CHECK"; } & Readonly; export declare class SQLiteConstraintCheck extends SQLiteConstraintCheck_base { } declare const SQLiteConstraintCommithook_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_COMMITHOOK"; } & Readonly; export declare class SQLiteConstraintCommithook extends SQLiteConstraintCommithook_base { } declare const SQLiteConstraintDatatype_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_DATATYPE"; } & Readonly; export declare class SQLiteConstraintDatatype extends SQLiteConstraintDatatype_base { } declare const SQLiteConstraintForeignkey_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_FOREIGNKEY"; } & Readonly; export declare class SQLiteConstraintForeignkey extends SQLiteConstraintForeignkey_base { } declare const SQLiteConstraintFunction_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_FUNCTION"; } & Readonly; export declare class SQLiteConstraintFunction extends SQLiteConstraintFunction_base { } declare const SQLiteConstraintNotnull_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_NOTNULL"; } & Readonly; export declare class SQLiteConstraintNotnull extends SQLiteConstraintNotnull_base { } declare const SQLiteConstraintPinned_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_PINNED"; } & Readonly; export declare class SQLiteConstraintPinned extends SQLiteConstraintPinned_base { } declare const SQLiteConstraintPrimarykey_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_PRIMARYKEY"; } & Readonly; export declare class SQLiteConstraintPrimarykey extends SQLiteConstraintPrimarykey_base { } declare const SQLiteConstraintRowid_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_ROWID"; } & Readonly; export declare class SQLiteConstraintRowid extends SQLiteConstraintRowid_base { } declare const SQLiteConstraintTrigger_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_TRIGGER"; } & Readonly; export declare class SQLiteConstraintTrigger extends SQLiteConstraintTrigger_base { } declare const SQLiteConstraintUnique_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_UNIQUE"; } & Readonly; export declare class SQLiteConstraintUnique extends SQLiteConstraintUnique_base { } declare const SQLiteConstraintVtab_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CONSTRAINT_VTAB"; } & Readonly; export declare class SQLiteConstraintVtab extends SQLiteConstraintVtab_base { } declare const SQLiteCorruptIndex_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CORRUPT_INDEX"; } & Readonly; export declare class SQLiteCorruptIndex extends SQLiteCorruptIndex_base { } declare const SQLiteCorruptSequence_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CORRUPT_SEQUENCE"; } & Readonly; export declare class SQLiteCorruptSequence extends SQLiteCorruptSequence_base { } declare const SQLiteCorruptVtab_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_CORRUPT_VTAB"; } & Readonly; export declare class SQLiteCorruptVtab extends SQLiteCorruptVtab_base { } declare const SQLiteErrorMissingCollseq_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_ERROR_MISSING_COLLSEQ"; } & Readonly; export declare class SQLiteErrorMissingCollseq extends SQLiteErrorMissingCollseq_base { } declare const SQLiteErrorRetry_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_ERROR_RETRY"; } & Readonly; export declare class SQLiteErrorRetry extends SQLiteErrorRetry_base { } declare const SQLiteErrorSnapshot_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_ERROR_SNAPSHOT"; } & Readonly; export declare class SQLiteErrorSnapshot extends SQLiteErrorSnapshot_base { } declare const SQLiteIoerrAccess_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_ACCESS"; } & Readonly; export declare class SQLiteIoerrAccess extends SQLiteIoerrAccess_base { } declare const SQLiteIoerrAuth_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_AUTH"; } & Readonly; export declare class SQLiteIoerrAuth extends SQLiteIoerrAuth_base { } declare const SQLiteIoerrBeginAtomic_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_BEGIN_ATOMIC"; } & Readonly; export declare class SQLiteIoerrBeginAtomic extends SQLiteIoerrBeginAtomic_base { } declare const SQLiteIoerrBlocked_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_BLOCKED"; } & Readonly; export declare class SQLiteIoerrBlocked extends SQLiteIoerrBlocked_base { } declare const SQLiteIoerrCheckreservedlock_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_CHECKRESERVEDLOCK"; } & Readonly; export declare class SQLiteIoerrCheckreservedlock extends SQLiteIoerrCheckreservedlock_base { } declare const SQLiteIoerrClose_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_CLOSE"; } & Readonly; export declare class SQLiteIoerrClose extends SQLiteIoerrClose_base { } declare const SQLiteIoerrCommitAtomic_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_COMMIT_ATOMIC"; } & Readonly; export declare class SQLiteIoerrCommitAtomic extends SQLiteIoerrCommitAtomic_base { } declare const SQLiteIoerrConvpath_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_CONVPATH"; } & Readonly; export declare class SQLiteIoerrConvpath extends SQLiteIoerrConvpath_base { } declare const SQLiteIoerrCorruptfs_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_CORRUPTFS"; } & Readonly; export declare class SQLiteIoerrCorruptfs extends SQLiteIoerrCorruptfs_base { } declare const SQLiteIoerrData_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_DATA"; } & Readonly; export declare class SQLiteIoerrData extends SQLiteIoerrData_base { } declare const SQLiteIoerrDelete_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_DELETE"; } & Readonly; export declare class SQLiteIoerrDelete extends SQLiteIoerrDelete_base { } declare const SQLiteIoerrDeleteNoent_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_DELETE_NOENT"; } & Readonly; export declare class SQLiteIoerrDeleteNoent extends SQLiteIoerrDeleteNoent_base { } declare const SQLiteIoerrDirClose_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_DIR_CLOSE"; } & Readonly; export declare class SQLiteIoerrDirClose extends SQLiteIoerrDirClose_base { } declare const SQLiteIoerrDirFsync_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_DIR_FSYNC"; } & Readonly; export declare class SQLiteIoerrDirFsync extends SQLiteIoerrDirFsync_base { } declare const SQLiteIoerrFstat_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_FSTAT"; } & Readonly; export declare class SQLiteIoerrFstat extends SQLiteIoerrFstat_base { } declare const SQLiteIoerrFsync_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_FSYNC"; } & Readonly; export declare class SQLiteIoerrFsync extends SQLiteIoerrFsync_base { } declare const SQLiteIoerrGettemppath_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_GETTEMPPATH"; } & Readonly; export declare class SQLiteIoerrGettemppath extends SQLiteIoerrGettemppath_base { } declare const SQLiteIoerrLock_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_LOCK"; } & Readonly; export declare class SQLiteIoerrLock extends SQLiteIoerrLock_base { } declare const SQLiteIoerrMmap_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_MMAP"; } & Readonly; export declare class SQLiteIoerrMmap extends SQLiteIoerrMmap_base { } declare const SQLiteIoerrNomem_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_NOMEM"; } & Readonly; export declare class SQLiteIoerrNomem extends SQLiteIoerrNomem_base { } declare const SQLiteIoerrRdlock_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_RDLOCK"; } & Readonly; export declare class SQLiteIoerrRdlock extends SQLiteIoerrRdlock_base { } declare const SQLiteIoerrRead_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_READ"; } & Readonly; export declare class SQLiteIoerrRead extends SQLiteIoerrRead_base { } declare const SQLiteIoerrRollbackAtomic_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_ROLLBACK_ATOMIC"; } & Readonly; export declare class SQLiteIoerrRollbackAtomic extends SQLiteIoerrRollbackAtomic_base { } declare const SQLiteIoerrSeek_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_SEEK"; } & Readonly; export declare class SQLiteIoerrSeek extends SQLiteIoerrSeek_base { } declare const SQLiteIoerrShmlock_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_SHMLOCK"; } & Readonly; export declare class SQLiteIoerrShmlock extends SQLiteIoerrShmlock_base { } declare const SQLiteIoerrShmmap_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_SHMMAP"; } & Readonly; export declare class SQLiteIoerrShmmap extends SQLiteIoerrShmmap_base { } declare const SQLiteIoerrShmopen_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_SHMOPEN"; } & Readonly; export declare class SQLiteIoerrShmopen extends SQLiteIoerrShmopen_base { } declare const SQLiteIoerrShmsize_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_SHMSIZE"; } & Readonly; export declare class SQLiteIoerrShmsize extends SQLiteIoerrShmsize_base { } declare const SQLiteIoerrShortRead_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_SHORT_READ"; } & Readonly; export declare class SQLiteIoerrShortRead extends SQLiteIoerrShortRead_base { } declare const SQLiteIoerrTruncate_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_TRUNCATE"; } & Readonly; export declare class SQLiteIoerrTruncate extends SQLiteIoerrTruncate_base { } declare const SQLiteIoerrUnlock_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_UNLOCK"; } & Readonly; export declare class SQLiteIoerrUnlock extends SQLiteIoerrUnlock_base { } declare const SQLiteIoerrVnode_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_VNODE"; } & Readonly; export declare class SQLiteIoerrVnode extends SQLiteIoerrVnode_base { } declare const SQLiteIoerrWrite_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_IOERR_WRITE"; } & Readonly; export declare class SQLiteIoerrWrite extends SQLiteIoerrWrite_base { } declare const SQLiteLockedSharedcache_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_LOCKED_SHAREDCACHE"; } & Readonly; export declare class SQLiteLockedSharedcache extends SQLiteLockedSharedcache_base { } declare const SQLiteLockedVtab_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_LOCKED_VTAB"; } & Readonly; export declare class SQLiteLockedVtab extends SQLiteLockedVtab_base { } declare const SQLiteNoticeRecoverRollback_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOTICE_RECOVER_ROLLBACK"; } & Readonly; export declare class SQLiteNoticeRecoverRollback extends SQLiteNoticeRecoverRollback_base { } declare const SQLiteNoticeRecoverWal_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_NOTICE_RECOVER_WAL"; } & Readonly; export declare class SQLiteNoticeRecoverWal extends SQLiteNoticeRecoverWal_base { } declare const SQLiteReadonlyCantinit_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY_CANTINIT"; } & Readonly; export declare class SQLiteReadonlyCantinit extends SQLiteReadonlyCantinit_base { } declare const SQLiteReadonlyCantlock_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY_CANTLOCK"; } & Readonly; export declare class SQLiteReadonlyCantlock extends SQLiteReadonlyCantlock_base { } declare const SQLiteReadonlyDbmoved_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY_DBMOVED"; } & Readonly; export declare class SQLiteReadonlyDbmoved extends SQLiteReadonlyDbmoved_base { } declare const SQLiteReadonlyDirectory_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY_DIRECTORY"; } & Readonly; export declare class SQLiteReadonlyDirectory extends SQLiteReadonlyDirectory_base { } declare const SQLiteReadonlyRecovery_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY_RECOVERY"; } & Readonly; export declare class SQLiteReadonlyRecovery extends SQLiteReadonlyRecovery_base { } declare const SQLiteReadonlyRollback_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_READONLY_ROLLBACK"; } & Readonly; export declare class SQLiteReadonlyRollback extends SQLiteReadonlyRollback_base { } declare const SQLiteWarningAutoindex_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_WARNING_AUTOINDEX"; } & Readonly; export declare class SQLiteWarningAutoindex extends SQLiteWarningAutoindex_base { } declare const SQLiteUnknownError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "SQLITE_UNKNOWN"; } & Readonly; /** * Fallback for unknown or unrecognized SQLite error codes. */ export declare class SQLiteUnknownError extends SQLiteUnknownError_base { } /** * Union of all SQLite error types. */ export type SQLiteErrorType = SQLiteError | SQLiteInternal | SQLitePerm | SQLiteAbort | SQLiteBusy | SQLiteLocked | SQLiteNomem | SQLiteReadonly | SQLiteInterrupt | SQLiteIoerr | SQLiteCorrupt | SQLiteNotfound | SQLiteFull | SQLiteCantopen | SQLiteProtocol | SQLiteEmpty | SQLiteSchema | SQLiteToobig | SQLiteConstraint | SQLiteMismatch | SQLiteMisuse | SQLiteNolfs | SQLiteAuth | SQLiteFormat | SQLiteRange | SQLiteNotadb | SQLiteNotice | SQLiteWarning | SQLiteAbortRollback | SQLiteAuthUser | SQLiteBusyRecovery | SQLiteBusySnapshot | SQLiteBusyTimeout | SQLiteCantopenConvpath | SQLiteCantopenDirtywal | SQLiteCantopenFullpath | SQLiteCantopenIsdir | SQLiteCantopenNotempdir | SQLiteCantopenSymlink | SQLiteConstraintCheck | SQLiteConstraintCommithook | SQLiteConstraintDatatype | SQLiteConstraintForeignkey | SQLiteConstraintFunction | SQLiteConstraintNotnull | SQLiteConstraintPinned | SQLiteConstraintPrimarykey | SQLiteConstraintRowid | SQLiteConstraintTrigger | SQLiteConstraintUnique | SQLiteConstraintVtab | SQLiteCorruptIndex | SQLiteCorruptSequence | SQLiteCorruptVtab | SQLiteErrorMissingCollseq | SQLiteErrorRetry | SQLiteErrorSnapshot | SQLiteIoerrAccess | SQLiteIoerrAuth | SQLiteIoerrBeginAtomic | SQLiteIoerrBlocked | SQLiteIoerrCheckreservedlock | SQLiteIoerrClose | SQLiteIoerrCommitAtomic | SQLiteIoerrConvpath | SQLiteIoerrCorruptfs | SQLiteIoerrData | SQLiteIoerrDelete | SQLiteIoerrDeleteNoent | SQLiteIoerrDirClose | SQLiteIoerrDirFsync | SQLiteIoerrFstat | SQLiteIoerrFsync | SQLiteIoerrGettemppath | SQLiteIoerrLock | SQLiteIoerrMmap | SQLiteIoerrNomem | SQLiteIoerrRdlock | SQLiteIoerrRead | SQLiteIoerrRollbackAtomic | SQLiteIoerrSeek | SQLiteIoerrShmlock | SQLiteIoerrShmmap | SQLiteIoerrShmopen | SQLiteIoerrShmsize | SQLiteIoerrShortRead | SQLiteIoerrTruncate | SQLiteIoerrUnlock | SQLiteIoerrVnode | SQLiteIoerrWrite | SQLiteLockedSharedcache | SQLiteLockedVtab | SQLiteNoticeRecoverRollback | SQLiteNoticeRecoverWal | SQLiteReadonlyCantinit | SQLiteReadonlyCantlock | SQLiteReadonlyDbmoved | SQLiteReadonlyDirectory | SQLiteReadonlyRecovery | SQLiteReadonlyRollback | SQLiteWarningAutoindex | SQLiteUnknownError; /** * Type guard to check if an error is a SQLite error with a _tag. */ export declare const isSQLiteError: (error: unknown) => error is SQLiteErrorType; /** * Check if the error is retryable (busy or locked errors). */ export declare const isRetryable: (e: SQLiteErrorType) => boolean; /** * Parse an error from a SQLite client into a typed error. */ export declare const parseError: (code: string | undefined, message: string, cause?: unknown) => SQLiteErrorType; export {}; //# sourceMappingURL=SQLiteError.d.ts.map