Copyright | Allele Dev 2016 |
---|---|
License | BSD-3 |
Maintainer | allele.dev@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
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