Resets the consecutive-error counter after a successful poll or restart.
Nothing — this is a side-effecting setter.
Classifies an HTTP error, stopping on fatal codes or applying backoff.
The HTTP status code as a string.
The recovery decision for this HTTP error.
Classifies an exception thrown during poll(), applying backoff.
The unknown error from the poll attempt.
The recovery decision for this exception.
Classifies Telegram poll failures into stop/retry decisions with backoff.