userError

userError :: String -> IOError
base Prelude, base System.IO.Error
Construct an IOError value with a string describing the error. The fail method of the IO instance of the Monad class raises a userError, thus: > instance Monad IO > ... > fail s = ioError (userError s)
userErrors :: Exception -> Maybe String
base Control.OldException
userErrorType :: IOErrorType
base System.IO.Error
I/O error that is programmer-defined.
isUserError :: IOError -> Bool
base System.IO.Error
A programmer-defined error value constructed using userError.
isUserErrorType :: IOErrorType -> Bool
base System.IO.Error
I/O error that is programmer-defined.