Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce operators onErrorHandle and onErrorHandleWith #127

alexandru opened this Issue Mar 21, 2016 · 0 comments


None yet
1 participant
Copy link

alexandru commented Mar 21, 2016

Currently the operators onErrorRecover and onErrorRecoverWith are taking partial functions as arguments.

Scala has historically had problems in parsing the syntax for partial functions and onErrorRecoverWith doesn't even need the syntax, given that you can construct an Observable or a Task that can emit an error.

Both Observable and Task need the onErrorHandle and onErrorHandleWith operators that are variants which do not take partial functions as parameters.

alexandru added a commit that referenced this issue Mar 21, 2016

@alexandru alexandru changed the title Operators onErrorRecover and onErrorRecoverWith should not take partial functions Introduce operators onErrorHandle and onErrorHandleWith Apr 8, 2016

@alexandru alexandru closed this Apr 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.