Class ErrorInfo
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A stable error reason scoped to the service that produced it.
public sealed record ErrorInfo : IEquatable<ErrorInfo>
- Inheritance
-
ErrorInfo
- Implements
- Inherited Members
Constructors
ErrorInfo(string, string, IReadOnlyDictionary<string, string>)
A stable error reason scoped to the service that produced it.
public ErrorInfo(string Reason, string Domain, IReadOnlyDictionary<string, string> Metadata)
Parameters
ReasonstringA machine-readable reason, for example
SANDBOX_NOT_READY.DomainstringThe producing service, for example
openshell.nvidia.com.MetadataIReadOnlyDictionary<string, string>Extra key-value context for the reason.
Properties
Domain
The producing service, for example openshell.nvidia.com.
public string Domain { get; init; }
Property Value
Metadata
Extra key-value context for the reason.
public IReadOnlyDictionary<string, string> Metadata { get; init; }
Property Value
Reason
A machine-readable reason, for example SANDBOX_NOT_READY.
public string Reason { get; init; }