antiope-core-7.5.2: Please see the README on Github at <https://github.com/arbor/antiope#readme>

Safe HaskellNone
LanguageHaskell2010

Antiope.Core.Error

Documentation

handle404ToNone :: MonadAWS m => m a -> m (Maybe a) Source #

handleServiceError Source #

Arguments

:: MonadAWS m 
=> m a

AWS action

-> (a -> b)

Transform successful result

-> (Status -> Maybe b)

Compensate with the failure. Nothing means that the error is not handled

-> m b

Final result. In case of unhandled errors the exception is re-thrown.