<PackageReference Include="Polly.Core" Version="8.8.0" />

Polly.Outcome<TResult>

public struct Outcome<TResult>
Represents the outcome of an operation which could be a result of type TResult or an exception.
namespace Polly { public readonly struct Outcome<TResult> { public Exception Exception { get; } public TResult Result { get; } public void ThrowIfException(); } }