Outcome public static class Outcome Produces instances of Outcome<T>. Documentation Code public static Outcome<TResult> FromException<TResult>(Exception exception) Returns a Outcome<T> with the given exception. public static ValueTask<Outcome<TResult>> FromExceptionAsValueTask<TResult>(Exception exception) Returns a Outcome<T> with the given exception wrapped as ValueTask<T>. public static Outcome<TResult> FromResult<TResult>(TResult value) Returns a Outcome<T> with the given value. public static ValueTask<Outcome<TResult>> FromResultAsValueTask<TResult>(TResult value) Returns a Outcome<T> with the given value wrapped as ValueTask<T>.