matchesRateLimitWording function

bool matchesRateLimitWording(
  1. String text
)

Whether text carries a rate-limit/quota wording (the guard set above). Public so hosts can classify retry notices the ladder announces — the CLI separates [net] connection lost from [net] rate limited lines and appends the 429_retry session record for the rate-limit class.

Implementation

bool matchesRateLimitWording(String text) =>
    _rateLimitGuardPatterns.any((pattern) => pattern.hasMatch(text));