mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-14 13:46:43 +02:00
Still no auto retry for rate-limit. Instead, rate-limit errors are ignored and the unchecked Apps have to wait until the next cycle. Even this needs more testing before release.
9 lines
200 B
Dart
9 lines
200 B
Dart
class RateLimitError {
|
|
late int remainingMinutes;
|
|
RateLimitError(this.remainingMinutes);
|
|
|
|
@override
|
|
String toString() =>
|
|
'Rate limit reached - try again in $remainingMinutes minutes';
|
|
}
|