public class RateLimitError extends BulletError
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_FORMAT |
static String |
NARROW_FILTER |
static List<String> |
RESOLUTIONS |
static String |
TIME_WINDOW |
ERROR_KEY, RESOLUTIONS_KEY
GSON, INVALID_DOUBLES
Constructor and Description |
---|
RateLimitError(double rate,
double limit)
/**
Creates an instance of this from a given absolute exceeded rate and a maximum rate limit.
|
Modifier and Type | Method and Description |
---|---|
Meta |
makeMeta()
Makes this into a
Meta object. |
asJSON, makeError, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asJSON, fromJSON
public static final String ERROR_FORMAT
public static final String NARROW_FILTER
public static final String TIME_WINDOW
Copyright © 2021. All rights reserved.