UNPKG

@puberty-labs/clits

Version:

CLiTS (Chrome Logging and Inspection Tool Suite) is a powerful Node.js library for automated Chrome browser testing, logging, and inspection. It provides a comprehensive suite of tools for monitoring network requests, console logs, DOM mutations, and more

25 lines (24 loc) 788 B
export interface PlatformError { code: string; message: string; platform: string; severity: 'error' | 'warning' | 'info'; recoverable: boolean; recommendation?: string; } export declare class PlatformErrorHandler { private static readonly MAC_POLICY_ERRORS; private static readonly KNOWN_ERRORS; /** * Check if the error is a known platform-specific issue */ static isPlatformError(error: Error | string | undefined | null): boolean; /** * Handle platform-specific errors */ static handleError(error: Error | string | undefined | null): PlatformError | null; /** * Check if an error should be suppressed based on platform-specific rules */ static shouldSuppressError(error: Error | string): boolean; }