Class EndpointFailure
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A classified cause of an endpoint failure, such as a token grant that could not be completed.
public sealed record EndpointFailure : IEquatable<EndpointFailure>
- Inheritance
-
EndpointFailure
- Implements
- Inherited Members
Properties
Code
A stable lower_snake_case cause within the domain, for example provider_authorization_required.
public string Code { get; init; }
Property Value
CredentialKey
The credential key within the provider, when known.
public string CredentialKey { get; init; }
Property Value
Domain
The classifying subsystem.
public EndpointFailureDomain Domain { get; init; }
Property Value
Provider
The provider whose credential was involved, when known.
public string Provider { get; init; }
Property Value
RecoveryAction
What an operator should do about it.
public RefreshRecoveryAction RecoveryAction { get; init; }
Property Value
RequestId
The x-openshell-request-id the workload saw on the failed request, for correlation.
public string RequestId { get; init; }
Property Value
Stage
A stable lower_snake_case stage where it failed, for example gateway_rpc.
public string Stage { get; init; }
Property Value
UpstreamHttpStatus
The HTTP status the upstream returned, when one was received.
public uint? UpstreamHttpStatus { get; init; }
Property Value
- uint?