@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
16 lines • 648 B
text/typescript
import { ClerkAPIError } from "../../types/errors.mjs";
//#region src/internal/clerk-js/actionBlocked.d.ts
type ActionBlockedDetails = {
traceId?: string;
kind?: string;
title?: string;
description?: string;
linkUrl?: string;
linkText?: string;
data?: Record<string, string | number | boolean>;
};
declare const getActionBlockedDetails: (error: ClerkAPIError | undefined) => ActionBlockedDetails | null;
declare const actionBlockedDetailsFrom: (error: unknown) => ActionBlockedDetails | null;
//#endregion
export { ActionBlockedDetails, actionBlockedDetailsFrom, getActionBlockedDetails };
//# sourceMappingURL=actionBlocked.d.mts.map