RefusalReason
RefusalReason =
"engine"|"no-schema"|"locked"|"closed"|"transaction"
Defined in: libs/session/src/session.ts:26
Why a session refused. A caller branches on this, never on message text.
engine: TypeQLite itself refused the statement.messageis the engine’s own.no-schema: a statement other than adefineran before any schema was applied.locked: another connection holds the file’s write lock (SQLite arbitrates two sessions on one file).closed: the session was closed.transaction: abegininside a transaction, or acommitorrollbackwith none open.
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.