Safe Haskell | None |
---|---|
Language | Haskell2010 |
Support for checked exceptions.
Documentation
runError :: forall e es a. Exception e => Eff (Error e ': es) a -> Eff es (Either ([String], e) a) Source #
throwError :: (HasCallStack, Exception e, Error e :> es) => e -> Eff es a Source #