]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Resource/Tree.hs
No need to define our own methods for Exception Abortion
[Lucu.git] / Network / HTTP / Lucu / Resource / Tree.hs
index 40a4150dc9fe1694cee60f55703f257c10032a0c..de19e0470deb3f4951080895998939df1e5294c1 100644 (file)
@@ -32,7 +32,6 @@ import           Network.HTTP.Lucu.Interaction
 import           Network.HTTP.Lucu.Utils
 import           Network.URI hiding (path)
 import           System.IO
-import           System.IO.Error hiding (catch)
 import           Prelude hiding (catch)
 
 
@@ -261,9 +260,3 @@ runResource def itr
                             $ hPutStrLn stderr $ show abo
 
                flip runRes itr $ driftTo Done
-
-      formatIOE :: IOError -> String
-      formatIOE ioE = if isUserError ioE then
-                          ioeGetErrorString ioE
-                      else
-                          show ioE