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

Method constructor

packages/server/src/git/git-cli.ts:12–16  ·  view source on GitHub ↗
(message: string, code = 'GIT_ERROR')

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected