* 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)
| 129 | * what failed instead of calling it an internal error. |
| 130 | */ |
| 131 | function databaseOpenFailureText(err: DatabaseOpenError | NodeSqliteUnavailableError): string { |
| 132 | return ( |
| 133 | `${err.message}\n` + |
| 134 | 'Retry the call once; if it persists, continue without codegraph for this task and pass ' + |
| 135 | 'the message above on to the user.' |
| 136 | ); |
| 137 | } |
| 138 | |
| 139 | function wslSharedIndexGuidance(err: WslSharedIndexError): string { |
| 140 | return ( |
no outgoing calls
no test coverage detected