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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected