API reference › @evolu/common › local‑first/Db › DatabaseHeldError
Defined in: packages/common/src/local-first/Db.ts:527
Another context kept holding the database or its files for databaseHeldTimeout, so the database did not open, or Evolu.deleteDatabase or EvoluApp.remove did not delete it, or such a deletion did not finish in time, such as while the tab that starts it shows a modal dialog; see WaitForDatabaseRelease. It also names the Evolu 7 database that a tab still running Evolu 7 keeps, which Evolu migrates at the next start after that tab closed.
A browser can keep the files of a worker that ended without closing them until the browser restarts. Ask the user to close the app's other tabs or to restart the browser, then to reload the app. On React Native, a runtime that a reload replaced can keep holding them until the app restarts, so ask the user to restart the app.
Extends
Typed<"DatabaseHeldError">
Properties
name
readonly name: string & Brand<"UrlSafeString"> & Brand<"Name">;
Defined in: packages/common/src/local-first/Db.ts:528
type
readonly type: "DatabaseHeldError";
Defined in: packages/common/src/Type.ts:19388