shelly 1.5.5 → 1.5.6
raw patch · 2 files changed
+3/−1 lines, 2 files
Files
- shelly.cabal +1/−1
- src/Shelly.hs +2/−0
shelly.cabal view
@@ -1,6 +1,6 @@ Name: shelly -Version: 1.5.5+Version: 1.5.6 Synopsis: shell-like (systems) programming in Haskell Description: Shelly provides convenient systems programming in Haskell,
src/Shelly.hs view
@@ -68,6 +68,7 @@ -- * Exceptions , bracket_sh, catchany, catch_sh, handle_sh, handleany_sh, finally_sh, ShellyHandler(..), catches_sh, catchany_sh+ , ReThrownException(..) -- * convert between Text and FilePath , toTextIgnore, toTextWarn, FP.fromText@@ -997,6 +998,7 @@ data QuietExit = QuietExit Int deriving (Show, Typeable) instance Exception QuietExit +-- | Shelly's wrapper around exceptions thrown in its monad data ReThrownException e = ReThrownException e String deriving (Typeable) instance Exception e => Exception (ReThrownException e) instance Exception e => Show (ReThrownException e) where