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

Method constructor

src/errors.ts:131–138  ·  view source on GitHub ↗
(message: string, query: string, cause?: Error)

Source from the content-addressed store, hash-verified

129 readonly query: string;
130
131 constructor(message: string, query: string, cause?: Error) {
132 super(message, 'SEARCH_ERROR', { query, cause: cause?.message });
133 this.name = 'SearchError';
134 this.query = query;
135 if (cause) {
136 this.cause = cause;
137 }
138 }
139}
140
141/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected