# EntryPointNotFoundError | @aa-sdk/core

> Represents an error thrown when an entry point is not found for a specific chain and entry point version. This error indicates that a default entry point does not exist for the given chain and version, and suggests providing an override.

> 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:7](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/entrypoint.ts#L7)

Represents an error thrown when an entry point is not found for a specific chain and entry point version. This error indicates that a default entry point does not exist for the given chain and version, and suggests providing an override.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

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

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

Constructs an error message indicating that no default entry point exists for the given chain and entry point version.

#### 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 blockchain network for which the entry point is being queried
      </td>
    </tr>

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

      <td>
        `any`
      </td>

      <td>
        The version of the entry point for which no default exists
      </td>
    </tr>

  </tbody>
</table>

#### Returns

`EntryPointNotFoundError`

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

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

      <td>
        `string`
      </td>

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

  </tbody>
</table>