Copyright | Alej Cabrera 2015 |
---|---|
License | BSD-3 |
Maintainer | [email protected] |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
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