foundation-0.0.25: Alternative prelude with batteries and no dependencies

Safe Haskell | None
Language | Haskell2010

Foundation.Exception

# Documentation

finally :: MonadBracket m => m a -> m b -> m a Source #

try :: (MonadCatch m, Exception e) => m a -> m (Either e a) Source #

data SomeException #

#### Instances

Instances details

Show SomeException |
Instance details Defined in GHC.Exception.Type Methods showsPrec :: Int -> SomeException -> ShowS # show :: SomeException -> String # showList :: [SomeException] -> ShowS #
Exception SomeException |
Instance details Defined in GHC.Exception.Type Methods toException :: SomeException -> SomeException # fromException :: SomeException -> Maybe SomeException # displayException :: SomeException -> String #