Table of Contents

Class Error.RateLimited

Namespace
Trellis
Assembly
Trellis.Core.dll

The caller has exceeded a usage quota; retry per Retry.

public sealed record Error.RateLimited : Error, IEquatable<Error>, IEquatable<Error.RateLimited>
Inheritance
Error.RateLimited
Implements
Inherited Members
Extension Methods

Constructors

RateLimited(RetryAdvice?)

The caller has exceeded a usage quota; retry per Retry.

public RateLimited(RetryAdvice? Retry = null)

Parameters

Retry RetryAdvice?

Optional retry hint describing when the caller may try again.

Properties

Kind

Gets the stable domain slug for this case (e.g. "not-found", "invalid-input"). Suitable for telemetry, observability dimensions, and as the durable identifier that boundary layers translate into transport-specific type identifiers.

public override string Kind { get; }

Property Value

string

Retry

Optional retry hint describing when the caller may try again.

public RetryAdvice? Retry { get; init; }

Property Value

RetryAdvice?