public sealed record PlatformResult<T>.Failed : PlatformResult<T>, IEquatable<PlatformResult<T>.Failed> The operation failed.
Parameters
CodeThe classified failure. Branch on this value.
DiagnosticNative error detail for logs and support, when the provider observed one.
Constructors
Failed
public Failed(PlatformFailureCode Code, PlatformDiagnostic? Diagnostic = null) The operation failed.
Parameters
CodeThe classified failure. Branch on this value.
DiagnosticNative error detail for logs and support, when the provider observed one.
Properties
Diagnostic
public PlatformDiagnostic? Diagnostic { get; init; } Native error detail for logs and support, when the provider observed one.