Result.err converts Result<never, E> into Option<E>, None if the result is Ok.
Result.err
Result<never, E>
Option<E>
None
Ok
Result<T, E>.err = () => Option<E>;
div(2, 2) // => Ok(1) .err() // => None