(worktreePath: string)
| 42 | super( |
| 43 | `Worktree not found at '${worktreePath}'`, |
| 44 | 'WORKTREE_NOT_FOUND' |
| 45 | ); |
| 46 | this.name = 'WorktreeNotFoundError'; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | export class WorktreeDirtyError extends GitError { |
| 51 | constructor(worktreePath: string) { |
| 52 | super( |
| 53 | `Worktree at '${worktreePath}' has uncommitted changes`, |
nothing calls this directly
no outgoing calls
no test coverage detected