mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
rate limit message on 429
This commit is contained in:
@@ -14,6 +14,10 @@ export class ErrorResponse {
|
||||
if (errorModel) {
|
||||
this.message = errorModel.Message;
|
||||
this.validationErrors = errorModel.ValidationErrors;
|
||||
} else {
|
||||
if (status === 429) {
|
||||
this.message = 'Rate limit exceeded. Try again later.';
|
||||
}
|
||||
}
|
||||
this.statusCode = status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user