[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Db](https://evolu.dev/docs/api-reference/common/local-first/Db) › DatabaseHeldError

Defined in: [packages/common/src/local-first/Db.ts:282](https://github.com/evoluhq/evolu/blob/bb2644275dd99ff6dce4744db578967699045ea3/packages/common/src/local-first/Db.ts#L282)

Another context kept holding the database's files, so the database did not
open; see [WaitForDatabaseRelease](https://evolu.dev/docs/api-reference/common/local-first/Db/type-aliases/WaitForDatabaseRelease).

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.

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"DatabaseHeldError"`\>

## Properties

<a id="name"></a>

### name

```ts
readonly name: string & Brand<"UrlSafeString"> & Brand<"Name">;
```

Defined in: [packages/common/src/local-first/Db.ts:283](https://github.com/evoluhq/evolu/blob/bb2644275dd99ff6dce4744db578967699045ea3/packages/common/src/local-first/Db.ts#L283)

---

<a id="type"></a>

### type

```ts
readonly type: "DatabaseHeldError";
```

Defined in: [packages/common/src/Type.ts:19043](https://github.com/evoluhq/evolu/blob/bb2644275dd99ff6dce4744db578967699045ea3/packages/common/src/Type.ts#L19043)

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)