propellor-4.3.1: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Exception

Synopsis

Documentation

catchPropellor :: (MonadIO m, MonadCatch m) => m Result -> m Result Source #

Catches all exceptions (except for StopPropellorException and AsyncException and SomeAsyncException) and returns FailedChange.

catchPropellor' :: MonadCatch m => m a -> (SomeException -> m a) -> m a Source #

tryPropellor :: MonadCatch m => m a -> m (Either SomeException a) Source #

Catches all exceptions (except for StopPropellorException and AsyncException).