Monad-transformer compatible version of the Control.Exception module