minified-modrinth/com.dervarex.minified.modrinth.exceptions
ModrinthRateLimitedException
@API(status = STABLE)
public final class ModrinthRateLimitedException
extends ModrinthApiExceptionThrown when the Modrinth API rate limits a request.
- Superclasses
- ModrinthApiException → ModrinthException → RuntimeException → Exception → Throwable
- Implemented interfaces
- Serializable
Constructors
public ModrinthRateLimitedException(
String message,
int statusCode,
String requestUrl,
long retryAfterSeconds,
Throwable cause
)Methods
public long getRetryAfterSeconds()| Returns | ||
|---|---|---|
long | ||