mirror of
https://github.com/apple/swift-nio
synced 2026-11-23 04:34:23 +00:00
Motivation: The name `mapIfError` implied that you can transform the error value but really that's never what it did. Instead, it allowed you to recover from a failure. Modifications: - rename `mapIfError` to `recover` Result: cleaner method names