Skip to content
Alchemy Logo

UnsupportedPermissionTypeError

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

Error class for when an unsupported permission type is added to a permission builder.

new UnsupportedPermissionTypeError(): UnsupportedPermissionTypeError;

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

Constructor for initializing an error message indicating an unsupported permission type.

Returns

UnsupportedPermissionTypeError

Overrides

PermissionBuilderError.constructor;

PropertyTypeDefault value

name

string

"PermissionBuilder: UnsupportedPermissionTypeError"

Was this page helpful?