zio
zio copied to clipboard
Remove deprecated catchNonFatalOrDie operator (#10222)
The catchNonFatalOrDie operator was deprecated in #10052 and is now being completely removed. Users should migrate to using catchSome with NonFatal pattern matching or catchAll with manual NonFatal checking.
Migration guide:
- Replace: zio.catchNonFatalOrDie(handler)
- With: zio.catchSome { case NonFatal(e) => handler(e) }
Closes #10222
You can't remove operator without breaking binary compatibility. Can you alias it to catchAll?
You can't remove operator without breaking binary compatibility. Can you alias it to
catchAll?
yeah its possible!