NoAlchemyAccountContextError
Defined in: account-kit/react/src/errors.ts:18
Error thrown when a hook is called without a AlchemyAccountProvider.
Param
The name of the hook.
Extends
BaseError
Constructors
Constructor
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
Returns
NoAlchemyAccountContextError
Overrides
Properties
Methods
walk()
Call Signature
Defined in: node_modules/viem/_types/errors/base.d.ts:26
Returns
Error
Inherited from
Call Signature
Defined in: node_modules/viem/_types/errors/base.d.ts:27
Parameters
Returns
null
| Error
Inherited from
captureStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:145
Creates a .stack
property on targetObject
, which when accessed returns a string representing the location in the code at which Error.captureStackTrace()
was called.
The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}
.
The optional constructorOpt
argument accepts a function. If given, all frames above constructorOpt
, including constructorOpt
, will be omitted from the generated stack trace.
The constructorOpt
argument is useful for hiding implementation details of error generation from the user. For instance:
Parameters
Returns
void
Inherited from
prepareStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:149
Parameters
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces