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

Method constructor

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

Source from the content-addressed store, hash-verified

143 */
144export class VectorError extends CodeGraphError {
145 constructor(message: string, operation: string, cause?: Error) {
146 super(message, 'VECTOR_ERROR', { operation, cause: cause?.message });
147 this.name = 'VectorError';
148 if (cause) {
149 this.cause = cause;
150 }
151 }
152}
153
154/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected