handler
A closure that accepts the upstream failure as input and either returns a publisher to replace the upstream publisher or throws an error.
Declaration
let handler: (Upstream.Failure) throws -> NewPublisherA closure that accepts the upstream failure as input and either returns a publisher to replace the upstream publisher or throws an error.
let handler: (Upstream.Failure) throws -> NewPublisher