UNPKG

@elsikora/git-branch-lint

Version:
25 lines (24 loc) 679 B
/** * Base error class for branch creation errors */ export declare class BranchCreationError extends Error { constructor(message: string); } /** * Error thrown when trying to create a branch that already exists */ export declare class BranchAlreadyExistsError extends BranchCreationError { constructor(branchName: string); } /** * Error thrown when git operation fails */ export declare class GitOperationError extends BranchCreationError { constructor(operation: string, details?: string); } /** * Error thrown when working directory has uncommitted changes */ export declare class UncommittedChangesError extends BranchCreationError { constructor(); }