invert

Swaps the Success value and the Failure error, producing Outcome<Error, Ok>.