(branchName: string)
| 18 | super(`Branch '${branchName}' does not exist`, 'BRANCH_NOT_FOUND'); |
| 19 | this.name = 'BranchNotFoundError'; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | export class BranchExistsError extends GitError { |
| 24 | constructor(branchName: string) { |
| 25 | super(`Branch '${branchName}' already exists`, 'BRANCH_EXISTS'); |
| 26 | this.name = 'BranchExistsError'; |
nothing calls this directly
no outgoing calls
no test coverage detected