| Copyright | Alej Cabrera 2015 |
|---|---|
| License | BSD-3 |
| Maintainer | cpp.cabrera@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Control.Monad.Freer.Exception
Description
Composable handler for Exception effects. Communicates success/failure via an Either type.
Using http://okmij.org/ftp/Haskell/extensible/Eff1.hs as a starting point.
Documentation
throwError :: Member (Exc e) r => e -> Eff r a Source
Throws an error carrying information of type e