@shutootaki/gwm
Version:
git worktree manager CLI
10 lines • 503 B
TypeScript
export interface AppError {
type: 'git' | 'network' | 'filesystem' | 'validation' | 'unknown';
message: string;
originalError?: Error;
}
export declare function createAppError(type: AppError['type'], message: string, originalError?: Error): AppError;
export declare function handleGitError(error: Error): AppError;
export declare function formatErrorMessage(error: AppError): string;
export declare function formatErrorForDisplay(error: unknown): string;
//# sourceMappingURL=errors.d.ts.map