Show an error for missing project paths (#1490)
* Fix missing project paths flashing in the sidebar * Log project lifecycle changes * Address project picker review feedback * Show project picker transport errors * Inject session filesystem for workspace tests
This commit is contained in:
@@ -2622,6 +2622,8 @@ export const OpenProjectResponseMessageSchema = z.object({
|
||||
requestId: z.string(),
|
||||
workspace: WorkspaceDescriptorPayloadSchema.nullable(),
|
||||
error: z.string().nullable(),
|
||||
// Unknown codes from newer daemons degrade to null; clients fall back to `error`.
|
||||
errorCode: z.enum(["directory_not_found"]).nullish().catch(null),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user