Class RateLimitExceededException
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Thrown when a rate limit strategy rejects an execution.
public sealed class RateLimitExceededException : ExecutionRejectedException, ISerializable
- Inheritance
-
RateLimitExceededException
- Implements
- Inherited Members
Constructors
RateLimitExceededException()
Initializes a rate-limit rejection without a retry estimate.
public RateLimitExceededException()
RateLimitExceededException(TimeSpan?)
Initializes the exception.
public RateLimitExceededException(TimeSpan? retryAfter)
Parameters
retryAfterTimeSpan?
RateLimitExceededException(string)
Initializes a rate-limit rejection with a custom message.
public RateLimitExceededException(string message)
Parameters
messagestring
RateLimitExceededException(string, Exception)
Initializes a rate-limit rejection with a custom message and cause.
public RateLimitExceededException(string message, Exception innerException)