-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add MonadError.rethrow
#2061
Add MonadError.rethrow
#2061
Conversation
…to SystemFw-feature/rethrow
make Ior handleErrorWith to treat Both as valid
still have scala style errors
and also need to add mima exceptions to here Update actually let me do that for you. |
@kailuowang you are too kind :) |
👍 |
Codecov Report
@@ Coverage Diff @@
## master #2061 +/- ##
==========================================
+ Coverage 94.66% 94.66% +<.01%
==========================================
Files 318 318
Lines 5380 5383 +3
Branches 112 207 +95
==========================================
+ Hits 5093 5096 +3
Misses 287 287
Continue to review full report at Codecov.
|
We already have 2 sign-offs, but since I made a couple lines of changes here. Maybe @LukaJCB can give it another look? |
Is it weird to call this |
It is a bit weird, and we had a brief discussion on gitter cause I was not sure about the original name. |
:) I have no objections |
Hmm I do like |
I don't have a strong preference either tbh |
do you want to change to |
It's past two so I won't be able to do anything until tomorrow |
never mind about the rename, I noticed that the word "rethrow" is already used numerous time in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
This PR seeks to add
rethrow
toMonadError
, i.e. the inverse ofattempt
.The law for it is currently failing on
IorT
.