Function used by recover to turn a failure into a value.
recover
failure reason from the source future.
recovered value.