ghc-6.10.1: The GHC APIContentsIndex
Panic
Synopsis
data GhcException
= PhaseFailed String ExitCode
| Interrupted
| UsageError String
| CmdLineError String
| Panic String
| InstallationError String
| ProgramError String
showGhcException :: GhcException -> String -> String
throwGhcException :: GhcException -> a
handleGhcException :: ExceptionMonad m => (GhcException -> m a) -> m a -> m a
ghcError :: GhcException -> a
progName :: String
pgmError :: String -> a
panicFastInt :: String -> FastInt
assertPanic :: String -> Int -> a
showException :: Exception e => e -> String
tryMost :: IO a -> IO (Either SomeException a)
installSignalHandlers :: IO ()
interruptTargetThread :: MVar [ThreadId]
Documentation
data GhcException
Constructors
PhaseFailed String ExitCode
Interrupted
UsageError String
CmdLineError String
Panic String
InstallationError String
ProgramError String
show/hide Instances
showGhcException :: GhcException -> String -> String
throwGhcException :: GhcException -> a
handleGhcException :: ExceptionMonad m => (GhcException -> m a) -> m a -> m a
ghcError :: GhcException -> a
progName :: String
pgmError :: String -> a
panicFastInt :: String -> FastInt
assertPanic :: String -> Int -> a
showException :: Exception e => e -> String
tryMost :: IO a -> IO (Either SomeException a)
tryMost is like try, but passes through Interrupted and Panic exceptions. Used when we want soft failures when reading interface files, for example.
installSignalHandlers :: IO ()
interruptTargetThread :: MVar [ThreadId]
Produced by Haddock version 2.3.0