PickerResult<T>.Failed record

Namespace Runic.Platform in Runic.Platform 0.23.0

public sealed record PickerResult<T>.Failed : PickerResult<T>, IEquatable<PickerResult<T>.Failed>

Nested in PickerResult. Inherits or implements PickerResult, IEquatable.

The dialog or acquisition failed.

Parameters

Code

The classified failure. Branch on this value.

Diagnostic

Native error detail for logs and support, when the provider observed one.

Constructors

Failed

public Failed(PlatformFailureCode Code, PlatformDiagnostic? Diagnostic = null)

The dialog or acquisition failed.

Parameters

Code

The classified failure. Branch on this value.

Diagnostic

Native error detail for logs and support, when the provider observed one.

Properties

Code

public PlatformFailureCode Code { get; init; }

The classified failure. Branch on this value.

Diagnostic

public PlatformDiagnostic? Diagnostic { get; init; }

Native error detail for logs and support, when the provider observed one.