> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cosvec.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: APIUserAbortError

The caller cancelled the request through an `AbortSignal`.

## Extends

* [`TypeSafeError`](/en/sdk/javascript/api/classes/TypeSafeError)

## Constructors

<a id="sdk-constructor" />

### Constructor

```ts theme={null} theme={null}
new APIUserAbortError(message?, options?): APIUserAbortError;
```

#### Parameters

##### message?

`string` = `"Request was aborted."`

##### options?

`ErrorOptions`

#### Returns

`APIUserAbortError`

#### Overrides

[`TypeSafeError`](/en/sdk/javascript/api/classes/TypeSafeError).[`constructor`](/en/sdk/javascript/api/classes/TypeSafeError#sdk-constructor)
