hinterface-0.1.0.0: Initial project template from stack

Safe HaskellSafe
LanguageHaskell2010

Util.IOx

Synopsis

Documentation

type RawIO = IO Source #

catchX :: IOx a -> (IOError -> IOx a) -> IOx a Source #

toIOx :: RawIO a -> IOx a Source #

liftIOx :: MonadIO m => IO a -> m a Source #

doesNotExistErrorType :: IOErrorType #

I/O error where the operation failed because one of its arguments does not exist.

alreadyExistsErrorType :: IOErrorType #

I/O error where the operation failed because one of its arguments already exists.

illegalOperationErrorType :: IOErrorType #

I/O error where the operation is not possible.

userErrorType :: IOErrorType #

I/O error that is programmer-defined.