[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [NativeSqlite](https://evolu.dev/docs/api-reference/common/NativeSqlite) › NativeSqliteError

Defined in: [packages/common/src/NativeSqlite.ts:193](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L193)

The cause of an error SQLite reported, as `@evolu/sqlite-wasm`'s
`SqliteError`.

## Extends

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

## Properties

<a id="cause"></a>

### cause

```ts
readonly cause:
  | NativeSqliteCodecFailure
  | null;
```

Defined in: [packages/common/src/NativeSqlite.ts:205](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L205)

---

<a id="extendedcode"></a>

### extendedCode

```ts
readonly extendedCode: number;
```

Defined in: [packages/common/src/NativeSqlite.ts:195](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L195)

---

<a id="message"></a>

### message

```ts
readonly message: string;
```

Defined in: [packages/common/src/NativeSqlite.ts:197](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L197)

`sqlite3_errmsg`, or `sqlite3_errstr` when SQLite reported nothing.

---

<a id="operation"></a>

### operation

```ts
readonly operation: NativeSqliteOperation;
```

Defined in: [packages/common/src/NativeSqlite.ts:194](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L194)

---

<a id="sqloffset"></a>

### sqlOffset

```ts
readonly sqlOffset: number | null;
```

Defined in: [packages/common/src/NativeSqlite.ts:199](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L199)

Where in the UTF-8 SQL a parser error was found, or null.

---

<a id="systemerrno"></a>

### systemErrno

```ts
readonly systemErrno: number | null;
```

Defined in: [packages/common/src/NativeSqlite.ts:204](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/NativeSqlite.ts#L204)

The errno of a SQLITE_CANTOPEN or SQLITE_IOERR without a codec failure, or
null. It's diagnostic only.

---

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

### type

```ts
readonly type: "SqliteError";
```

Defined in: [packages/common/src/Type.ts:19326](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/Type.ts#L19326)

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