feat(desktop): surface local server startup failures (#30822)

This commit is contained in:
Luke Parker
2026-06-04 22:45:48 +00:00
committed by GitHub
parent 107180701f
commit b1a7ee5695
10 changed files with 175 additions and 5 deletions
@@ -0,0 +1,11 @@
export function errorDescriptionKey(error: unknown) {
if (
typeof error === "object" &&
error !== null &&
"localServerStartup" in error &&
error.localServerStartup === true
) {
return "error.page.description.localServerStartup" as const
}
return "error.page.description" as const
}