Table of Contents

Class Error.ServiceUnavailable

Namespace
Trellis
Assembly
Trellis.Core.dll

HTTP 503 — the server is temporarily unable to handle the request.

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

Constructors

ServiceUnavailable(RetryAfterValue?)

HTTP 503 — the server is temporarily unable to handle the request.

public ServiceUnavailable(RetryAfterValue? RetryAfter = null)

Parameters

RetryAfter RetryAfterValue

Optional advice for when the client may retry.

Properties

Kind

Gets the stable, IANA-aligned identifier for this case (e.g. "not-found", "unprocessable-content"). Suitable for telemetry, problem-details type URI synthesis, and wire serialization.

public override string Kind { get; }

Property Value

string

RetryAfter

Optional advice for when the client may retry.

public RetryAfterValue? RetryAfter { get; init; }

Property Value

RetryAfterValue