* A project whose index exists but could not be opened: SQLite's own failure, * with the path and what to check, or a runtime without node:sqlite. A real * malfunction, so it stays `isError` with the retry-once note, but it says * what failed instead of calling it an internal error.
(err: DatabaseOpenError | NodeSqliteUnavailableError)
| 123 | * what failed instead of calling it an internal error. |
| 124 | */ |
| 125 | function databaseOpenFailureText(err: DatabaseOpenError | NodeSqliteUnavailableError): string { |
| 126 | return ( |
| 127 | `${err.message}\n` + |
| 128 | 'Retry the call once; if it persists, continue without codegraph for this task and pass ' + |
| 129 | 'the message above on to the user.' |
| 130 | ); |
| 131 | } |
| 132 | |
| 133 | function wslSharedIndexGuidance(err: WslSharedIndexError): string { |
| 134 | return ( |
no outgoing calls
no test coverage detected