diff --git a/packages/alchemy/src/react/errors.ts b/packages/alchemy/src/react/errors.ts index 577dd49a59..598bbf526c 100644 --- a/packages/alchemy/src/react/errors.ts +++ b/packages/alchemy/src/react/errors.ts @@ -6,6 +6,10 @@ export class NoAlchemyAccountContextError extends BaseError { } } +/** + * Error thrown when a hook is called without a client. + * @param hookName The name of the hook. + */ export class ClientUndefinedHookError extends BaseError { constructor(hookName: string) { super(`client must be defined in ${hookName}`);