MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/git/git-cli.ts:20–23  ·  view source on GitHub ↗
(branchName: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected