method Task.prototype.mapErr Task.prototype.mapErr<F>(fn: (error: E) => Promisable<F>): Task<T, F> Maps the error value. Successful values are passed through unchanged. Type Parameters F Parameters fn: (error: E) => Promisable<F> Return Type Task<T, F>