Table of Contents

Class RateLimitException

Namespace
TypeSafe.AI.Sdk
Assembly
TypeSafe.AI.Sdk.dll

HTTP 429: the rate limit was exceeded.

public class RateLimitException : ApiException, ISerializable
Inheritance
RateLimitException
Implements
Inherited Members

Constructors

RateLimitException(HttpStatusCode, object?, HttpResponseHeaders, string?)

Create an API error from a completed HTTP response.

public RateLimitException(HttpStatusCode statusCode, object? body, HttpResponseHeaders headers, string? message = null)

Parameters

statusCode HttpStatusCode
body object
headers HttpResponseHeaders
message string

Properties

RetryAfterMs

Server retry delay in milliseconds, or null when absent or invalid.

public int? RetryAfterMs { get; }

Property Value

int?