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
| Parameter | Type | Description |
|---|---|---|
| The permission with account address as target |
Returns
AccountAddressAsTargetError
Overrides
PermissionBuilderError.constructor;