Rate |
The RateLimitException type exposes the following members.
Name | Description | |
---|---|---|
Failure |
Gets the non-null Failure object containing details of
the failure on the API's servers that led to this exception on the
client.
(Inherited from FailureException) | |
IsDueToRateLimitOnLocationChanges | Returns true if this failure was caused by a rate limit on the number of times a location-limited account can change the location(s) that they access data from. | |
Message |
Overridden to return the Failure details as the exception
message.
(Inherited from FailureException) | |
ResponseMetadata |
Gets the non-null metadata from the
FailureResponse that brought details of this failure back
from the API servers.
(Inherited from RequestFailureException) |
The best way to handle this exception is often to wait until the rate limit is reset. You can figure out how long that is from the RateLimit object, accessible through the ResponseMetadata. Or you might want to consider upgrading your account to increase your rate limit. Visit the Degree Days.net website for more on this.
This exception corresponds to any failure code starting with "RateLimit".
You can interrogate the IsDueToRateLimitXXX properties of this exception to find out more about the cause. There is only one such property at the moment, but more may be added in a future version of this client library.