mapErr

open fun <U> mapErr(mapper: (E) -> U): Result<T, U>