refactor: centralize failover error parsing
This commit is contained in:
@@ -50,6 +50,8 @@ export function resolveFailoverStatus(
|
||||
return 401;
|
||||
case "timeout":
|
||||
return 408;
|
||||
case "format":
|
||||
return 400;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user