Publishers.MapError
A publisher that converts any failure from the upstream publisher into a new error.
Declaration
struct MapError<Upstream, Failure> where Upstream : Publisher, Failure : ErrorA publisher that converts any failure from the upstream publisher into a new error.
struct MapError<Upstream, Failure> where Upstream : Publisher, Failure : Error