Accept HTTP/429 as a "rate-limited" status code
This commit is contained in:
parent
7431f151b2
commit
45289f519a
9 changed files with 156 additions and 16 deletions
|
@ -25,6 +25,7 @@ export function translateError(error: HTTPError): HTTPError | undefined {
|
|||
'Failed to connect to the server, please check your network connection.';
|
||||
break;
|
||||
case 413:
|
||||
case 429:
|
||||
message = 'Rate limit exceeded, please try again later.';
|
||||
break;
|
||||
case 403:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue