Safe Haskell | None |
---|---|
Language | Haskell2010 |
Handlers for common errors in Haskell-tools daemon.
Synopsis
- userExceptionHandlers :: (String -> IO a) -> ([Marker] -> [String] -> IO a) -> [Handler a]
- exceptionHandlers :: IO () -> (String -> IO ()) -> [Handler ()]
- getProblems :: SourceError -> ([Marker], [String])
- handleGHCException :: String -> Maybe (String, Bool)
- handleSourceProblem :: String -> Maybe String
Documentation
exceptionHandlers :: IO () -> (String -> IO ()) -> [Handler ()] Source #
Handlers for generic exceptions: IOException
, AsyncException
, SomeException
.
getProblems :: SourceError -> ([Marker], [String]) Source #