mapError

Returns a future that will map an error thrown using the provided transform function.