error +base

error :: [Char] -> a
base Prelude
error stops execution and displays an error message.
errorCalls :: Exception -> Maybe String
base Control.OldException
module Foreign.C.Error
base Foreign.C.Error
C-specific Marshalling support: Handling of C "errno" error codes.
module Foreign.Marshal.Error
base Foreign.Marshal.Error
Routines for testing return values and raising a userError exception in case of values indicating an error state.
module System.IO.Error
base System.IO.Error
Standard IO Errors.
ErrorCall :: String -> ErrorCall
base Control.Exception.Base, base Control.Exception
ErrorCall :: String -> Exception
base Control.OldException
The ErrorCall exception is thrown by error. The String argument of ErrorCall is the string passed to error when it was called.
data ErrorCall
base Control.Exception.Base, base Control.Exception
This is thrown when the user calls error. The String is the argument given to error.
type IOError = IOException
base Prelude, base System.IO.Error
The Haskell 98 type for exceptions in the IO monad. Any I/O operation may raise an IOError instead of returning a result. For a more general type of exception, including also those that arise in pure code, see Control.Exception.Exception. In Haskell 98, this is an opaque type.
ioError :: IOError -> IO a
base Prelude, base Control.Exception.Base, base Control.Exception, base System.IO.Error, base Control.OldException
Raise an IOError in the IO monad.
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)
absentError :: Addr# -> a
base Control.Exception.Base
alreadyExistsErrorType :: IOErrorType
base System.IO.Error
I/O error already exists.
alreadyInUseErrorType :: IOErrorType
base System.IO.Error
I/O error single-use resource, which is already being used.
annotateIOError :: IOError -> String -> Maybe Handle -> Maybe FilePath -> IOError
base System.IO.Error
Adds a location description and maybe a file path and file handle to an IOError. If any of the file handle or file path is not given the corresponding value in the IOError remains unaltered.
bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
base Control.Exception.Base, base Control.Exception
Like bracket, but only performs the final action if there was an exception raised by the in-between computation.
bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
base Control.OldException
Like bracket, but only performs the final action if there was an exception raised by the in-between computation.
doesNotExistErrorType :: IOErrorType
base System.IO.Error
I/O error not exist.
eofErrorType :: IOErrorType
base System.IO.Error
I/O error reached.
errnoToIOError :: String -> Errno -> Maybe Handle -> Maybe String -> IOError
base Foreign.C.Error
Construct an IOError based on the given Errno value. The optional information can be used to improve the accuracy of error messages.

Show more results