UNPKG

@flanksource/clicky-ui

Version:

Flanksource Clicky UI — React component library built on shadcn/ui with light/dark and density theming.

26 lines 909 B
export type ErrorDiagnostics = { message: string; trace?: string; time?: string; stacktrace?: string; context: Array<[string, string]>; raw?: unknown; }; export type ParsedErrorStackTrace = { headline?: string; frames: ErrorStackFrame[]; unparsed: string[]; raw: string; }; export type ErrorStackFrame = { raw: string; file: string; line: number; functionName?: string; }; export declare function normalizeErrorDiagnostics(value: unknown, fallback?: string | null): ErrorDiagnostics | null; export declare function parseDiagnosticsStackTrace(stacktrace: string): ParsedErrorStackTrace; export declare function parseInlineJsonContextValue(value: string): unknown | null; export declare function compactStackPath(file: string): string; export declare function isApplicationStackFrame(file: string): boolean; //# sourceMappingURL=error-diagnostics.d.ts.map