(message: string, code = 'GIT_ERROR')
| 10 | super(message); |
| 11 | this.name = 'GitError'; |
| 12 | this.code = code; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | export class BranchNotFoundError extends GitError { |
| 17 | constructor(branchName: string) { |
| 18 | super(`Branch '${branchName}' does not exist`, 'BRANCH_NOT_FOUND'); |
| 19 | this.name = 'BranchNotFoundError'; |
nothing calls this directly
no outgoing calls
no test coverage detected