Skip to content
Alchemy Logo

AccountRequiresOwnerError

Defined in: aa-sdk/core/src/errors/account.ts:138

Represents an error that occurs when an account requires an owner to execute but none is provided.

new AccountRequiresOwnerError(accountType): AccountRequiresOwnerError;

Defined in: aa-sdk/core/src/errors/account.ts:146

Constructs an error indicating that an account of the specified type requires an owner to execute.

Parameters

ParameterTypeDescription

accountType

string

The type of account that requires an owner

Returns

AccountRequiresOwnerError

Overrides

BaseError.constructor

PropertyTypeDefault value

name

string

"AccountRequiresOwnerError"

version

string

VERSION

Was this page helpful?