into<F2 extends Object> method
Changes the Err type to F2. This is usually used when "this" is known to be an Ok and you want to return to
the calling function, but the returning function's F type is different from this F type.
Note: This function should almost never be used, since if the calling function expects a Result, then calling
functions F type should be a super type of this F type. into is usually only useful for this is known to
be an error
Implementation
Ok<S, F2> into<F2 extends Object>() {
return Ok(ok);
}