Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype Exception m a Source #
The functor representing the exception. You shouldn't need
to create this manually, just use throw
.
throw :: (Member (Exception a) r, Typeable a) => a -> Eff r b Source #
Throw an exception. The only requirement is that exception be typeable.