ReactiveUI.Primitives.Result
Represents the outcome of an operation, indicating success or failure and providing error details when applicable.
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);
}
}