Skip to content
Alchemy Logo

ClientOnlyPropertyError

Defined in: account-kit/core/src/errors.ts:16

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

  • BaseError

new ClientOnlyPropertyError(property): ClientOnlyPropertyError;

Defined in: account-kit/core/src/errors.ts:24

Creates a new ClientOnlyPropertyError

Parameters

ParameterTypeDescription

property

string

the name of the property that is only available on the client

Returns

ClientOnlyPropertyError

Overrides

BaseError.constructor;

PropertyTypeDefault value

name

string

"ClientOnlyPropertyError"

version

string

VERSION

Was this page helpful?