Table of Contents

Class RateLimitApiException

Namespace
Auth0.Core.Exceptions
Assembly
Auth0.Core.dll

Represents errors caused by rate limits being exceeded when making API calls.

[Serializable]
public class RateLimitApiException : ApiException, ISerializable
Inheritance
RateLimitApiException
Implements
Inherited Members

Constructors

RateLimitApiException()

Initializes a new instance of the RateLimitApiException class.

public RateLimitApiException()

RateLimitApiException(RateLimit, ApiError)

Initializes a new instance of the RateLimitApiException class with a specified rateLimit.

public RateLimitApiException(RateLimit rateLimit, ApiError apiError = null)

Parameters

rateLimit RateLimit

RateLimit received on the API call that failed.

apiError ApiError

ApiError received on the API call that failed.

RateLimitApiException(SerializationInfo, StreamingContext)

protected RateLimitApiException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

serializationInfo SerializationInfo
streamingContext StreamingContext

RateLimitApiException(string)

Initializes a new instance of the RateLimitApiException class with a specified error message.

public RateLimitApiException(string message)

Parameters

message string

The error message that explains the reason for the exception.

RateLimitApiException(string, Exception)

Initializes a new instance of the RateLimitApiException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public RateLimitApiException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Properties

ApiError

Optional ApiError from the failing API call.

public ApiError ApiError { get; }

Property Value

ApiError

RateLimit

RateLimit as determined by the server.

public RateLimit RateLimit { get; }

Property Value

RateLimit