Creates a publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The publisher that this publisher receives elements from.
A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher.