Skip to content
Alchemy Logo

SelectorNotAllowed

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

Error class for when a selector is not allowed.

new SelectorNotAllowed(functionName): SelectorNotAllowed;

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

Constructor for initializing an error message indicating that the selector being added is not allowed.

Parameters

ParameterTypeDescription

functionName

string

The function name of the selector that is being added.

Returns

SelectorNotAllowed

Overrides

PermissionBuilderError.constructor;

PropertyTypeDefault value

name

string

"SelectorNotAllowed"

Was this page helpful?