<PackageReference Include="ReactiveUI.Primitives.Core" Version="8.3.0" />

ReactiveUI.Primitives.Result

public struct Result : IEquatable<Result>
Represents the outcome of an operation, indicating success or failure and carrying the failure exception.
namespace ReactiveUI.Primitives { public readonly struct Result : IEquatable<Result> { public static Result Success { get; } public Exception Exception { get; } public bool IsSuccess { get; } public bool IsFailure { get; } public Result(Exception exception); public static Result Failure(Exception exception); public void TryThrow(); public static bool operator !=(Result left, Result right); public static bool operator ==(Result left, Result right); public bool Equals(Result other); } }