# EntityIdOverrideError

> Error class denoting that the provided entity id is invalid because it's overriding the native entity id.

> 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/smart-accounts/src/errors/EntityIdOverrideError.ts:6](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/smart-accounts/src/errors/EntityIdOverrideError.ts#L6)

Error class denoting that the provided entity id is invalid because it's overriding the native entity id.

## Extends

- `BaseError`

## Constructors

### Constructor

```ts
new EntityIdOverrideError(): EntityIdOverrideError;
```

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

Initializes a new instance of the error message with a default message indicating that the nonce key is invalid.

#### Returns

`EntityIdOverrideError`

#### Overrides

```ts
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>
        `"EntityIdOverrideError"`
      </td>
    </tr>

  </tbody>
</table>