RateLimitException

class RateLimitException(message: String, val retryAfter: Duration?) : SportsDbException

The rate limit was exceeded (HTTP 429) and retries were used up or disabled. retryAfter is how long the server asked to wait, when it said.

Constructors

Link copied to clipboard
constructor(message: String, retryAfter: Duration?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard

Java: retryAfter as a java.time.Duration.