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

Function isDatabaseOpenFailure

src/db/open-error.ts:91–93  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

89 * that, not as "no index here". The Windows/WSL case has its own guidance.
90 */
91export function isDatabaseOpenFailure(err: unknown): err is DatabaseOpenError | NodeSqliteUnavailableError {
92 return err instanceof DatabaseOpenError || err instanceof NodeSqliteUnavailableError;
93}

Callers 3

executeMethod · 0.90
executeReadToolMethod · 0.90
reportableOpenFailureFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected