Safe Haskell | Safe-Inferred |
---|
Control.Biegunka.Execute.Exception
Contents
Description
Biegunka custom exceptions
- data CopyingException = CopyingException FilePath FilePath String
- data PatchingException = PatchingException FilePath FilePath
- data ShellException = ShellException CmdSpec Int Text
- data SourceException = SourceException String FilePath Text
- sourceFailure :: String -> FilePath -> Text -> IO a
- onFailure :: ExitCode -> (Int -> IO a) -> IO ()
Exceptions
data CopyingException Source
Copying files/directories failure (with catched IO exception)
Constructors
CopyingException FilePath FilePath String |
data PatchingException Source
Patching directory failure
Constructors
PatchingException FilePath FilePath |
data ShellException Source
Various shell failures with output
Constructors
ShellException CmdSpec Int Text |
data SourceException Source
Source emerging failure with paths and output
Constructors
SourceException String FilePath Text |
Utility functions
sourceFailure :: String -> FilePath -> Text -> IO aSource
Report Source
emerge failure to Biegunka.