You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The isFailure method on Attempt happened because of Scala's Try.
However we must be consistent with the naming. We either use "failure" or we use "error", because in practice the two are not perfect synonyms. And we standardize on "error" because of MonadError from Cats and because we've been using onError in Task, Coeval and Observable (basically almost everywhere).
Hence isFailure gets renamed to isError and we leave the old method in place with a @deprecated warning, to not break binary compatibility (for now).
The text was updated successfully, but these errors were encountered:
Issues:
#354: Enable Mima and Unidoc error reporting in Travis build
#355: Add Coeval#run
#356: Add Task#attempt and Coeval#attempt
#358: Deprecate materializeAttempt and dematerializeAttempt on Task and Coeval
#359: Rename Coeval.Attempt#isFailure to Coeval.Attempt#isError
The
isFailure
method onAttempt
happened because of Scala'sTry
.However we must be consistent with the naming. We either use "failure" or we use "error", because in practice the two are not perfect synonyms. And we standardize on "error" because of
MonadError
from Cats and because we've been usingonError
inTask
,Coeval
andObservable
(basically almost everywhere).Hence
isFailure
gets renamed toisError
and we leave the old method in place with a@deprecated
warning, to not break binary compatibility (for now).The text was updated successfully, but these errors were encountered: