Returns an instance that encapsulates the given Throwable as failure.
@JvmName("failure") static Result<Throwable> failure(Throwable exception) => Result(exception);