(branchName: string)
| 25 | super(`Branch '${branchName}' already exists`, 'BRANCH_EXISTS'); |
| 26 | this.name = 'BranchExistsError'; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | export class InvalidBranchNameError extends GitError { |
| 31 | constructor(branchName: string, reason?: string) { |
| 32 | const msg = reason |
| 33 | ? `Invalid branch name '${branchName}': ${reason}` |
nothing calls this directly
no outgoing calls
no test coverage detected