Converts this Outcome to a Result.
A Result containing the value if successful, or an exception if failed.