MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/bridge/bridgeApi.ts:60–65  ·  view source on GitHub ↗
(message: string, status: number, errorType?: string)

Source from the content-addressed store, hash-verified

58 /** Server-provided error type, e.g. "environment_expired". */
59 readonly errorType: string | undefined
60 constructor(message: string, status: number, errorType?: string) {
61 super(message)
62 this.name = 'BridgeFatalError'
63 this.status = status
64 this.errorType = errorType
65 }
66}
67
68export function createBridgeApiClient(deps: BridgeApiDeps): BridgeApiClient {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected