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

Method constructor

src/errors.ts:115–122  ·  view source on GitHub ↗
(message: string, operation: string, cause?: Error)

Source from the content-addressed store, hash-verified

113 readonly operation: string;
114
115 constructor(message: string, operation: string, cause?: Error) {
116 super(message, 'DATABASE_ERROR', { operation, cause: cause?.message });
117 this.name = 'DatabaseError';
118 this.operation = operation;
119 if (cause) {
120 this.cause = cause;
121 }
122 }
123}
124
125/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected