getFailureOrNone

Turns the Failure side of a Result into an Option.

Returns a Some of the exception if the result is a failure, else a None