# ClientOnlyPropertyError | @account-kit/core

> Error thrown when a client only property is accessed on the server

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

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

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

Error thrown when a client only property is accessed on the server

## Extends

- `BaseError`

## Constructors

### Constructor

```ts
new ClientOnlyPropertyError(property): ClientOnlyPropertyError;
```

Defined in: [account-kit/core/src/errors.ts:24](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/core/src/errors.ts#L24)

Creates a new ClientOnlyPropertyError

#### Parameters

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

  <tbody>
    <tr>
      <td>
        `property`
      </td>

      <td>
        `string`
      </td>

      <td>
        the name of the property that is only available on the client
      </td>
    </tr>

  </tbody>
</table>

#### Returns

`ClientOnlyPropertyError`

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

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

      <td>
        `string`
      </td>

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

  </tbody>
</table>