In favour of


Monad-transformer compatible version of the Control.Exception module

Latest on Hackage:

See all snapshots MonadCatchIO-transformers appears in

BSD-3-Clause licensed
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:468a6f12fd3821d2ab6301cc3543930c05e5117118917c6857ea383bdcc96c54,1127

Provides functions to throw and catch exceptions. Unlike the functions from Control.Exception, which work in IO, these work in any stack of monad transformers (from the transformers package) with IO as the base monad. You can extend this functionality to other monads, by creating an instance of the MonadCatchIO class. Warning: this package is deprecated. Use the exceptions package instead, if possible.