UNPKG

gitquick

Version:

Git Add, Commit, and Push on the Fly

36 lines 1.04 kB
/** * Custom error classes for gitquick */ /** * Base error class for gitquick errors */ export declare class GitQuickError extends Error { suggestion: string; constructor(message: string, suggestion?: string); } /** * Error thrown when validation fails */ export declare class ValidationError extends GitQuickError { constructor(message: string, suggestion?: string); } /** * Error thrown when git repository is not found or not initialized */ export declare class GitRepositoryError extends GitQuickError { constructor(message?: string, suggestion?: string); } /** * Error thrown when git is not installed or not found */ export declare class GitNotFoundError extends GitQuickError { constructor(message?: string, suggestion?: string); } /** * Error thrown when git command execution fails */ export declare class GitCommandError extends GitQuickError { originalError: Error | null; constructor(message: string, suggestion?: string, originalError?: Error | null); } //# sourceMappingURL=errors.d.ts.map