Defined in: account-kit/react/src/errors.ts:18
Error thrown when a hook is called without a AlchemyAccountProvider.
The name of the hook.
BaseError
new NoAlchemyAccountContextError(hookName): NoAlchemyAccountContextError;Defined in: account-kit/react/src/errors.ts:24
Constructs an error message indicating that a specific hook must be used within an AlchemyAccountProvider.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| The name of the hook that must be used within the AlchemyAccountProvider |
Returns
NoAlchemyAccountContextError
Overrides
BaseError.constructor;