Result.or returns the option, or returns optionB if the result is Err.
Result.or
optionB
Err
Result<T, E>.or = (res: Result<T, E>) => Result<T, E>;
div(2, 0) // => Err(MathError.DivisionByZero) .or(div(1, 1)) // => Ok(1)