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

Defined in: [packages/common/src/Task.ts:1793](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Task.ts#L1793)

Structured-concurrency abort control-flow value.

## Extends

- [`InferType`](https://evolu.dev/docs/api-reference/common/Type/type-aliases/InferType)\<_typeof_ [`AbortError`](https://evolu.dev/docs/api-reference/common/Task/variables/AbortError)\>

## Properties

<a id="reason"></a>

### reason

```ts
reason: {
  type: string;
} & Readonly<Partial<Record<string, unknown>>>;
```

#### Type Declaration

| Name   | Type     | Defined in |
| ------ | -------- | ---------- |
| `type` | `string` |            |

#### Inherited from

```ts
InferType.reason;
```

---

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

### type

```ts
type: "AbortError";
```

#### Inherited from

```ts
InferType.type;
```