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

Method setDefaultOpenFailure

src/mcp/tools.ts:2192–2194  ·  view source on GitHub ↗

* Engine-only: record why the default project failed to open (#995), so a * call that needs it answers with that fix rather than "no project loaded". * `null` clears it.

(err: WslSharedIndexError | DatabaseOpenError | NodeSqliteUnavailableError | null)

Source from the content-addressed store, hash-verified

2190 * `null` clears it.
2191 */
2192 setDefaultOpenFailure(err: WslSharedIndexError | DatabaseOpenError | NodeSqliteUnavailableError | null): void {
2193 this.defaultOpenFailure = err;
2194 }
2195
2196 /**
2197 * Engine-only: register the catch-up sync promise so the next `execute()`

Callers 3

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected