@memberjunction/react-runtime
Version:
Platform-agnostic React component runtime for MemberJunction. Provides core compilation, registry, and execution capabilities for React components in any JavaScript environment.
20 lines • 773 B
TypeScript
export interface FailedComponentInfo {
componentName: string;
errorType: string;
errorMessage: string;
lineNumber?: number;
context?: string;
}
export declare class ComponentErrorAnalyzer {
private static readonly ERROR_PATTERNS;
static identifyFailedComponents(errors: string[]): string[];
static analyzeComponentErrors(errors: string[]): FailedComponentInfo[];
private static extractComponentsFromError;
private static analyzeError;
private static extractComponentsFromStackTrace;
private static isLikelyComponentName;
private static extractLineNumber;
private static extractContext;
static formatAnalysisResults(failures: FailedComponentInfo[]): string;
}
//# sourceMappingURL=component-error-analyzer.d.ts.map