Converts a Result of a Result into a single Result
Result<S, F> flatten() { if (isOk()) { return unwrap(); } return Err(unwrapErr()); }