If the result is Ok, returns the value it holds. Otherwise, returns
the given default value.
Note: This function should be used sparingly, because it hides that an error
happened, which will make debugging harder. Prefer using ? to forward errors or
handle them explicitly with match.
expect Try.Err("uh oh").ok_or(42) == 42
expect Try.Ok(7).ok_or(42) == 7