MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / constructor

Method constructor

ui/src/lib/adapter.ts:65–71  ·  view source on GitHub ↗
(status: number, code: string, message: string, guidance: string | null)

Source from the content-addressed store, hash-verified

63 readonly guidance: string | null;
64
65 constructor(status: number, code: string, message: string, guidance: string | null) {
66 super(message);
67 this.name = 'ApiFailure';
68 this.status = status;
69 this.code = code;
70 this.guidance = guidance;
71 }
72}
73
74/** What `fail()` in `src/ui-server/api/respond.ts` sends. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected