biegunka-0.2: DSL definitions, interpreters, templating, git support

Safe HaskellSafe-Inferred

Control.Biegunka.Execute.Exception

Contents

Description

Biegunka custom exceptions

Synopsis

Exceptions

data CopyingException Source

Copying files/directories failure (with catched IO exception)

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.

onFailure :: ExitCode -> (Int -> IO a) -> IO ()Source

Check process exit code and perform IO action on failure