error

error :: [Char] -> a
base Prelude
error stops execution and displays an error message.
errorCalls :: Exception -> Maybe String
base Control.OldException
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
errorIsUnknown :: ParseError -> Bool
parsec Text.Parsec.Error, parsec Text.ParserCombinators.Parsec.Error
errorMessages :: ParseError -> [Message]
parsec Text.Parsec.Error, parsec Text.ParserCombinators.Parsec.Error
Extracts the list of error messages from the parse error
errorPos :: ParseError -> SourcePos
parsec Text.Parsec.Error, parsec Text.ParserCombinators.Parsec.Error, parsec Text.ParserCombinators.Parsec, parsec Text.Parsec
Extracts the source position from the parse error
errors :: GettableStateVar [Error]
OpenGL Graphics.Rendering.OpenGL.GLU.Errors
When an error occurs, it is recorded in this state variable and no further errors are recorded. Reading errors returns the currently recorded errors (there may be more than one due to a possibly distributed implementation) and resets the state variable to [], re-enabling the recording of future errors. The value [] means that there has been no detectable error since the last time errors was read, or since the GL was initialized.
errors :: Counts -> Int
HUnit Test.HUnit.Base
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
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.
module Control.Monad.Error
mtl Control.Monad.Error
* Computation type: Computations which may fail or throw exceptions. * Binding strategy: Failure records information about the cause/location of the failure. Failure values bypass the bound function, other values are used as inputs to the bound function. * Useful for: Building computations from sequences of functions that may fail or using exception handling to structure error handling. * Zero and plus: Zero is represented by an empty error and the plus operation executes its second argument if the first fails. * Example type: Either String a The Error monad (also called the Exception monad).
module Control.Monad.Trans.Error
transformers Control.Monad.Trans.Error
This monad transformer adds the ability to fail or throw exceptions to a monad. A sequence of actions succeeds, producing a value, only if all the actions in the sequence are successful. If one fails with an error, the rest of the sequence is skipped and the composite action fails with that error. If the value of the error is not required, the variant in Control.Monad.Trans.Maybe may be used instead.
module Data.Text.Encoding.Error
text Data.Text.Encoding.Error
Types and functions for dealing with encoding and decoding errors in Unicode text. The standard functions for encoding and decoding text are strict, which is to say that they throw exceptions on invalid input. This is often unhelpful on real world input, so alternative functions exist that accept custom handlers for dealing with invalid inputs. These OnError handlers are normal Haskell functions. You can use one of the presupplied functions in this module, or you can write a custom handler of your own.
Error :: ErrorCategory -> String -> Error
OpenGL Graphics.Rendering.OpenGL.GLU.Errors
Error :: ParseError -> Reply s u a
parsec Text.Parsec.Prim
class Error a
transformers Control.Monad.Trans.Error, mtl Control.Monad.Error.Class, mtl Control.Monad.Error
An exception to be thrown. Minimal complete definition: noMsg or strMsg.
data Error
OpenGL Graphics.Rendering.OpenGL.GLU.Errors
GL/GLU errors consist of a general error category and a description of what went wrong.
module System.Posix.Error
unix System.Posix.Error
POSIX error support
module Text.Parsec.Error
parsec Text.Parsec.Error
Parse errors
module Text.ParserCombinators.Parsec.Error
parsec Text.ParserCombinators.Parsec.Error
Parsec compatibility module
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.
data ErrorCategory
OpenGL Graphics.Rendering.OpenGL.GLU.Errors
General GL/GLU error categories
ErrorClosed :: ConnError
HTTP Network.Stream
class ErrorList a
transformers Control.Monad.Trans.Error
Workaround so that we can have a Haskell 98 instance Error String.
ErrorMisc :: String -> ConnError
HTTP Network.Stream
ErrorParse :: String -> ConnError
HTTP Network.Stream
ErrorReset :: ConnError
HTTP Network.Stream
type Errors e = Lift (Constant e)
transformers Control.Applicative.Lift
An applicative functor that collects a monoid (e.g. lists) of errors. A sequence of computations fails if any of its components do, but unlike monads made with ErrorT from Control.Monad.Trans.Error, these computations continue after an error, collecting all the errors.
ErrorT :: m (Either e a) -> ErrorT e a
mtl Control.Monad.Error
ErrorT :: m (Either e a) -> ErrorT e m a
transformers Control.Monad.Trans.Error
newtype ErrorT e m a
transformers Control.Monad.Trans.Error
The error monad transformer. It can be used to add error handling to other monads. The ErrorT Monad structure is parameterized over two things: * e - The error type. * m - The inner monad. The return function yields a successful computation, while >>= sequences two subcomputations, failing on the first error.
module Graphics.Rendering.OpenGL.GLU.Errors
OpenGL Graphics.Rendering.OpenGL.GLU.Errors
This module corresponds to section 2.5 (GL Errors) of the OpenGL 2.1 specs and chapter 8 (Errors) of the GLU specs, offering a generalized view of errors in GL and GLU.
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.

Show more results