Table of Contents

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

Reason string

A machine-readable reason, for example SANDBOX_NOT_READY.

Domain string

The producing service, for example openshell.nvidia.com.

Metadata IReadOnlyDictionary<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

string

Metadata

Extra key-value context for the reason.

public IReadOnlyDictionary<string, string> Metadata { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Reason

A machine-readable reason, for example SANDBOX_NOT_READY.

public string Reason { get; init; }

Property Value

string