# AccountNotFoundError

> This error is thrown when an account could not be found to execute a specific action. It 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: [packages/common/src/errors/AccountNotFoundError.ts:6](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/common/src/errors/AccountNotFoundError.ts#L6)

This error is thrown when an account could not be found to execute a specific action. It extends the `BaseError` class.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

```ts
new AccountNotFoundError(): AccountNotFoundError;
```

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

Constructor for initializing an error message indicating that an account could not be found to execute the specified action.

#### Returns

`AccountNotFoundError`

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

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

      <td>
        `string`
      </td>

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

  </tbody>
</table>