UNPKG

git-tweezers

Version:

Advanced git staging tool with hunk and line-level control

19 lines (18 loc) 617 B
import type { HunkInfo } from '../types/hunk-info.js'; export declare class StagingError extends Error { readonly remainingHunks?: HunkInfo[] | undefined; readonly context?: { mode?: "normal" | "precise"; filePath?: string; suggestCommand?: string; } | undefined; constructor(message: string, remainingHunks?: HunkInfo[] | undefined, context?: { mode?: "normal" | "precise"; filePath?: string; suggestCommand?: string; } | undefined); /** * Format error message with remaining hunks information */ getFormattedMessage(): string; }