UNPKG

@taizo-pro/github-discussions-cli

Version:

A powerful command-line tool for interacting with GitHub Discussions without opening a browser

22 lines 788 B
export interface ErrorContext { operation?: string; repository?: string; discussionId?: string; timestamp?: Date; } export declare class EnhancedErrorHandler { private static logDir; private static maxRetries; static handleError(error: any, context?: ErrorContext): Promise<void>; private static enhanceError; private static inferErrorType; private static generateSuggestions; private static displayError; private static logError; private static suggestRecovery; private static getExitCode; private static getErrorTypeLabel; private static isAppError; static retryWithBackoff<T>(operation: () => Promise<T>, context?: ErrorContext, maxRetries?: number): Promise<T>; } //# sourceMappingURL=enhanced-error-handler.d.ts.map