Converts from Result<T, E> to Option<E>.
Result<T, E>
Option<E>
Converts this into an Option, consuming this, and discarding the success value, if any.
this
Option<E> errOpt() => isOk ? None<E>() : Some(_errValue);