Class MassiveRateLimitExceededException
- Namespace
- MassiveDotNet
- Assembly
- MassiveDotNet.dll
Thrown when the Massive platform API rejects a request with HTTP 429.
public sealed class MassiveRateLimitExceededException : MassiveApiException, ISerializable
- Inheritance
-
MassiveRateLimitExceededException
- Implements
- Inherited Members
Constructors
MassiveRateLimitExceededException(string, Duration?, string?)
Initializes a new instance of the MassiveRateLimitExceededException class.
public MassiveRateLimitExceededException(string message, Duration? retryAfter = null, string? requestId = null)
Parameters
messagestringThe error message, preferring the server-supplied text.
retryAfterDuration?How long to wait before retrying, from the
Retry-Afterheader.requestIdstringThe server-assigned request identifier, when present.
Properties
RetryAfter
How long the server asked the caller to wait before retrying, when it supplied a
Retry-After header carrying a delta-seconds value.
public Duration? RetryAfter { get; }