toOutcome

Convert a Fetch to an Outcome by catching any exceptions thrown by getOrThrow.

Return

An Outcome containing the result or cache of the fetch or a Throwable if an error occurred.