arch-hs-0.3.0.0: Distribute hackage packages to archlinux
Copyright(c) 2020 berberman
LicenseMIT
Maintainerberberman <1793913507@qq.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Distribution.ArchHs.Exception

Description

Exceptions used in this project.

Synopsis

Documentation

printHandledIOException :: IO () -> IO () Source #

Catch IOException and print it.

printAppResult :: IO (Either MyException ()) -> IO () Source #

Print the result of errorToIOFinal.

interceptHttpException :: Members [WithMyErr, Embed IO] r => IO a -> Sem r a Source #

Catch the HttpException thrown in IO monad, then re-throw it with NetworkException.