# ChainNotFoundError

> Error class representing a "Chain Not Found" error, typically thrown when no chain is supplied to the client.

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

Defined in: [packages/common/src/errors/ChainNotFoundError.ts:6](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/common/src/errors/ChainNotFoundError.ts#L6)

Error class representing a "Chain Not Found" error, typically thrown when no chain is supplied to the client.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

```ts
new ChainNotFoundError(): ChainNotFoundError;
```

Defined in: [packages/common/src/errors/ChainNotFoundError.ts:12](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/common/src/errors/ChainNotFoundError.ts#L12)

Initializes a new instance of the error message with a default message indicating that no chain was supplied to the client.

#### Returns

`ChainNotFoundError`

#### Overrides

[`BaseError`](BaseError).[`constructor`](BaseError#constructor)

## Properties

<table>
  <thead>
    <tr>
      <th align="left">Property</th>
      <th align="left">Type</th>
      <th align="left">Default value</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <a id="name" /> `name`
      </td>

      <td>
        `string`
      </td>

      <td>
        `"ChainNotFoundError"`
      </td>
    </tr>

    <tr>
      <td>
        <a id="version" /> `version`
      </td>

      <td>
        `string`
      </td>

      <td>
        `VERSION`
      </td>
    </tr>

  </tbody>
</table>