failure

Creates a Result.Failure from the given failure.

Parameters

failure

The failure that will be wrapped with Result.