refactor: centralize failover error parsing

This commit is contained in:
Peter Steinberger committed 2026-01-10 01:26:06 +01:00
1 parent 82ffcfb181
commit 53ec8e36cb
7 files changed
+98 -58

No files matched your search

+2
View File
@@ -50,6 +50,8 @@ export function resolveFailoverStatus(
return 401;
case "timeout":
return 408;
case "format":
return 400;
default:
return undefined;
}