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

> Catch NetworkError from the HoneyHive TypeScript SDK when requests fail due to connectivity, DNS, or transport issues before the API responds.

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

## Extends

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

## Constructors

### Constructor

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

#### Parameters

##### error

`unknown`

#### Returns

`NetworkError`

#### Overrides

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

### error

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

***
