Error +System.IO

module System.IO.Error
base System.IO.Error
Standard IO Errors.
package error-loc
package
An error replacement with call-site metadata. Version 0.1.0.0
package error-location
package
Deprecated- now called file-location. http://hackage.haskell.org/package/file-location Version 0.1.5.5
package error-message
package
This philosophy behind this package is that it is often better to find out all of the errors that have occured in a computation and report them simultaneously, rather than aborting as soon as the first error is encountered.  Towards this end, this module supplies a type of combinable error messages so that all of the errors from subcomputations can be gathered and presented together. New in version 1.1:  Removed Monoid instance for Doc (it should now be supplied by ansi-wl-pprint), added ErrorMessageOr type alias. Version 1.1
package errorcall-eq-instance
package
Prior to base-4.7.0.0 there was no Eq instance for ErrorCall.  This package provides an orphan instance. Version 0.1.0
package errors
package
The one-stop shop for all your error-handling needs!  Just import Control.Error. This library encourages an error-handling style that directly uses the type system, rather than out-of-band exceptions. Version 1.4.4
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)
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.
doesNotExistErrorType :: IOErrorType
base System.IO.Error
I/O error not exist.
eofErrorType :: IOErrorType
base System.IO.Error
I/O error reached.
fullErrorType :: IOErrorType
base System.IO.Error
I/O error
illegalOperationErrorType :: IOErrorType
base System.IO.Error
I/O error
ioeGetErrorString :: IOError -> String
base System.IO.Error
ioeGetErrorType :: IOError -> IOErrorType
base System.IO.Error
data IOErrorType
base System.IO.Error
An abstract type that contains a value for each variant of IOError.
ioeSetErrorString :: IOError -> String -> IOError
base System.IO.Error

Show more results