function useAuthError(): UseAuthErrorResult;Defined in: account-kit/react/src/hooks/useAuthError.ts:21
Returns the error returned from the current auth step, if it exists
import { useAuthError } from "@account-kit/react";
const error = useAuthError();
if (error) {
console.error("Error occurred during auth step", error);
}the current Error object