[API reference](https://evolu.dev/docs/api-reference) › [@evolu/sqlite-wasm](https://evolu.dev/docs/api-reference/sqlite-wasm) › SqliteCodecFailure

Defined in: [packages/sqlite-wasm/src/Database.ts:544](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/Database.ts#L544)

The first failure Evolu's codec recorded for the main database of a File or
EncryptedFile connection since the top-level operation started. It has no
method or path, because the codec records a failure of the database's journal
on the database.

## Extends

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

## Properties

<a id="error"></a>

### error

```ts
readonly error: SqliteCodecError;
```

Defined in: [packages/sqlite-wasm/src/Database.ts:545](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/Database.ts#L545)

---

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

### type

```ts
readonly type: "SqliteCodecFailure";
```

Defined in: packages/common/dist/src/Type.d.ts:9304

#### 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)