We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 CanHandleError[F[_]]
CanHandleError[F[_]]
Version: 1.2.0
1.2.0
Add CanHandleError[F[_]] to handle NonFatal errors with error handle from Throwable to F[AA] where AA >: A.
NonFatal
Throwable
F[AA]
AA >: A
trait CanHandleError[F[_]] { type Xor[A, B] type XorT[A, B] def handleNonFatalWith[A, AA >: A](fa: => F[A])(handleError: Throwable => F[AA]): F[AA] def handleEitherTNonFatalWith[A, AA >: A, B, BB >: B]( efab: => XorT[A, B] )( handleError: Throwable => F[Xor[AA, BB]] ): XorT[AA, BB] def handleNonFatal[A, AA >: A](fa: => F[A])(handleError: Throwable => AA): F[AA] def handleEitherTNonFatal[A, AA >: A, B, BB >: B]( efab: => XorT[A, B] )( handleError: Throwable => Xor[AA, BB] ): XorT[AA, BB] }
The text was updated successfully, but these errors were encountered:
Close #116 - Add CanHandleError[F[_]]
4b590aa
Merge pull request #117 from Kevin-Lee/task/116/add-CanHandleError
8442448
kevin-lee
Successfully merging a pull request may close this issue.
Task
Summary
Add
CanHandleError[F[_]]
Project Details
Version:
1.2.0
Description
Add
CanHandleError[F[_]]
to handleNonFatal
errors with error handle fromThrowable
toF[AA]
whereAA >: A
.The text was updated successfully, but these errors were encountered: