Class Error.Unavailable
- Namespace
- Trellis
- Assembly
- Trellis.Core.dll
The system is temporarily unable to complete the operation; the caller should retry
per Retry.
public sealed record Error.Unavailable : Error, IEquatable<Error>, IEquatable<Error.Unavailable>
- Inheritance
-
Error.Unavailable
- Implements
- Inherited Members
- Extension Methods
Remarks
Set Code to identify the kind of unavailability.
Constructors
Unavailable(RetryAdvice?)
The system is temporarily unable to complete the operation; the caller should retry
per Retry.
public Unavailable(RetryAdvice? Retry = null)
Parameters
RetryRetryAdvice?Optional retry hint describing when the caller may try again.
Remarks
Set Code to identify the kind of unavailability.
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
Retry
Optional retry hint describing when the caller may try again.
public RetryAdvice? Retry { get; init; }