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

Defined in: [packages/sqlite-wasm/src/Database.ts:615](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/sqlite-wasm/src/Database.ts#L615)

A read that returned fewer bytes than the file holds at its offset, which a
pool's `xRead` records as it returns SQLITE_IOERR_READ, and
[SahPool.read](https://evolu.dev/docs/api-reference/sqlite-wasm/interfaces/SahPool#read) returns as the cause of a [SqliteVfsIoError](https://evolu.dev/docs/api-reference/sqlite-wasm/interfaces/SqliteVfsIoError).

The File System Standard reports a failed read as a short count, not an
exception, so only a read that the end of the file cuts returns
SQLITE_IOERR_SHORT_READ, whose zeros SQLite takes for data.

## Extends

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

## Properties

<a id="read"></a>

### read

```ts
readonly read: number;
```

Defined in: [packages/sqlite-wasm/src/Database.ts:618](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/sqlite-wasm/src/Database.ts#L618)

---

<a id="requested"></a>

### requested

```ts
readonly requested: number;
```

Defined in: [packages/sqlite-wasm/src/Database.ts:617](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/sqlite-wasm/src/Database.ts#L617)

The bytes the file holds at the offset, at most the length requested.

---

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

### type

```ts
readonly type: "SqliteShortRead";
```

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

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