handle Error
Deprecated
This API is considered redundant. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Prefer the new recover API
Replace with
import arrow.core.recover
Content copied to clipboard
recover { a -> f(a) }Content copied to clipboard
Deprecated
This API is niche and will be removed in the future. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Prefer using the orElse method
Replace with
import arrow.core.recover
Content copied to clipboard
recover { f(Unit) }Content copied to clipboard