Safe Haskell | Safe-Inferred |
---|
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)
data PatchingException Source
Patching directory failure
data SourceException Source
Source emerging failure with paths and output
Utility functions
sourceFailure :: String -> FilePath -> Text -> IO aSource
Report Source
emerge failure to Biegunka.