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

# APIConnectionError

> Network-level failure (connection error, read timeout, etc.) after all automatic retries are exhausted.

```typescript
class APIConnectionError extends ModusError
```

## Constructor

```typescript
APIConnectionError(message: string): APIConnectionError
```

### Parameters

<ResponseField name={"message"} type={"string"} required />

### Returns

`APIConnectionError`

## Properties

<ResponseField name={"body"} type={"string"} />

<ResponseField name={"code"} type={"string"} />

<ResponseField name={"requestId"} type={"string"} />

<ResponseField name={"responseHeaders"} type={"Record<string, string>"} />

<ResponseField name={"statusCode"} type={"number"} />
