Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- finally :: MonadBracket m => m a -> m b -> m a
- try :: (MonadCatch m, Exception e) => m a -> m (Either e a)
- data SomeException
Documentation
finally :: MonadBracket m => m a -> m b -> m a Source #
data SomeException #
The SomeException
type is the root of the exception type hierarchy.
When an exception of type e
is thrown, behind the scenes it is
encapsulated in a SomeException
.
Instances
Exception SomeException | Since: base-3.0 |
Defined in GHC.Exception.Type | |
Show SomeException | Since: base-3.0 |
Defined in GHC.Exception.Type showsPrec :: Int -> SomeException -> ShowS # show :: SomeException -> String # showList :: [SomeException] -> ShowS # |