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

Add Catching #62

Closed
kevin-lee opened this issue Jun 9, 2020 · 0 comments · Fixed by #66
Closed

Add Catching #62

kevin-lee opened this issue Jun 9, 2020 · 0 comments · Fixed by #66
Assignees
Labels
task Task v1 Effectie v1
Milestone

Comments

@kevin-lee
Copy link
Owner

kevin-lee commented Jun 9, 2020

Task

Summary

Add Catching

Project Details

Version: 0.4.0

Description

Add Catching to provide convenient ways to use CanCatch.

e.g.)

import effectie.Effectful._
import effectie.cats.Catching._

catchNonFatal(effectOf(something))(throwable => SomeError) // F[Either[SomeError, Something]]

catchNonFatalF(something)(throwable => SomeError) // F[Either[SomeError, Something]]
// The same as catchNonFatal(effectOf(something))(throwable => SomeError)
import effectie.Effectful._
import effectie.scalaz.Catching._

catchNonFatal(effectOf(something))(throwable => SomeError) // F[SomeError \/ Something]

catchNonFatalF(something)(throwable => SomeError) // F[SomeError \/ Something]
// The same as catchNonFatal(effectOf(something))(throwable => SomeError)
@kevin-lee kevin-lee added the task Task label Jun 9, 2020
@kevin-lee kevin-lee added this to the milestone5 milestone Jun 9, 2020
@kevin-lee kevin-lee self-assigned this Jun 9, 2020
@kevin-lee kevin-lee changed the title Add Attemptable Add Catching Jun 10, 2020
kevin-lee added a commit that referenced this issue Jun 10, 2020
kevin-lee added a commit that referenced this issue Jun 10, 2020
@kevin-lee kevin-lee added the v1 Effectie v1 label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Task v1 Effectie v1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant