Skip to content
Alchemy Logo

AccountAddressAsTargetError

Defined in: packages/smart-accounts/src/errors/permissionBuilderErrors.ts:31

Error class for when an account address is used as target.

new AccountAddressAsTargetError(permission): AccountAddressAsTargetError;

Defined in: packages/smart-accounts/src/errors/permissionBuilderErrors.ts:39

Constructor for initializing an error message indicating that account address is used as target.

Parameters

ParameterTypeDescription

permission

Permission

The permission with account address as target

Returns

AccountAddressAsTargetError

Overrides

PermissionBuilderError.constructor;

PropertyTypeDefault value

name

string

"PermissionBuilder: AccountAddressAsTargetError"

Was this page helpful?