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

# NetworkError

> Error class thrown by the HoneyHive TypeScript SDK

An error that is thrown when the API call fails at the network level
(e.g. DNS failures, timeouts, connection refused)

## Extends

* [`HoneyHiveError`](/v2/control-plane-sdk-reference/typescript/ref/classes/HoneyHiveError)

## Constructors

### Constructor

> **new NetworkError**(`error`): `NetworkError`

#### Parameters

##### error

`unknown`

#### Returns

`NetworkError`

#### Overrides

[`HoneyHiveError`](/v2/control-plane-sdk-reference/typescript/ref/classes/HoneyHiveError).[`constructor`](/v2/control-plane-sdk-reference/typescript/ref/classes/HoneyHiveError#constructor)

### error

> `readonly` **error**: `unknown`

***
