fail

fail :: Monad m => String -> m a
base Prelude, base Control.Monad, base Control.Monad.Instances
package failable-list
package
failed :: Result
QuickCheck Test.QuickCheck.Property
failHTTPS :: Monad m => URI -> m ()
HTTP Network.HTTP.Base
failMisc :: String -> Result a
HTTP Network.Stream
failParse :: String -> Result a
HTTP Network.Stream
failure :: Monoid e => e -> Errors e a
transformers Control.Applicative.Lift
Report an error.
package failure
package
A simple type class for success/failure computations. Version 0.2.0.1
failures :: Counts -> Int
HUnit Test.HUnit.Base
failWith :: ConnError -> Result a
HTTP Network.Stream
Failure :: Int -> Int -> StdGen -> Int -> String -> Bool -> [(String, Int)] -> String -> Result
QuickCheck Test.QuickCheck.Test, QuickCheck Test.QuickCheck
package FailureT
package
Failure Monad Transformer Version 15778.1
AssertionFailed :: String -> AssertionFailed
base Control.Exception.Base, base Control.Exception
AssertionFailed :: String -> Exception
base Control.OldException
This exception is thrown by the assert operation when the condition fails. The String argument contains the location of the assertion in the source program.
data AssertionFailed
base Control.Exception.Base, base Control.Exception
assert was applied to False.
ExitFailure :: Int -> ExitCode
base System.Exit
indicates program failure with an exit code. The exact interpretation of the code is operating-system dependent. In particular, some values may be prohibited (e.g. 0 on a POSIX-compliant system).
exitFailure :: IO a
base System.Exit
The computation exitFailure is equivalent to exitWith (ExitFailure exitfail), exitfail is implementation-dependent.
PatternMatchFail :: String -> Exception
base Control.OldException
A pattern matching failure. The String argument should contain a descriptive message including the function name, source file and line number.
PatternMatchFail :: String -> PatternMatchFail
base Control.Exception.Base, base Control.Exception
data PatternMatchFail
base Control.Exception.Base, base Control.Exception
A pattern match failed. The String gives information about the source location of the pattern.

Show more results