# InvalidEntryPointError | @aa-sdk/core

> Represents an error thrown when an invalid entry point version is encountered for a specific chain. This error extends the `BaseError` class.

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

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

Defined in: [aa-sdk/core/src/errors/entrypoint.ts:29](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/entrypoint.ts#L29)

Represents an error thrown when an invalid entry point version is encountered for a specific chain. This error extends the `BaseError` class.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

```ts
new InvalidEntryPointError(chain, entryPointVersion): InvalidEntryPointError;
```

Defined in: [aa-sdk/core/src/errors/entrypoint.ts:38](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/entrypoint.ts#L38)

Constructs an error indicating an invalid entry point version for a specific chain.

#### Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `chain`
      </td>

      <td>
        [`Chain`](https://viem.sh)
      </td>

      <td>
        The chain object containing information about the blockchain
      </td>
    </tr>

    <tr>
      <td>
        `entryPointVersion`
      </td>

      <td>
        `any`
      </td>

      <td>
        The entry point version that is invalid
      </td>
    </tr>

  </tbody>
</table>

#### Returns

`InvalidEntryPointError`

#### 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>
        `"InvalidEntryPointError"`
      </td>
    </tr>

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

      <td>
        `string`
      </td>

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

  </tbody>
</table>