HPath.IO.Errors: minor documentation fix
This commit is contained in:
parent
456af3b1ab
commit
05fcad14f1
@ -266,7 +266,7 @@ canOpenDirectory fp =
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
-- |Throws a `Can'tOpenDirectory` FmIOException if the directory at the given
|
-- |Throws a `Can'tOpenDirectory` HPathIOException if the directory at the given
|
||||||
-- path cannot be opened.
|
-- path cannot be opened.
|
||||||
throwCantOpenDirectory :: Path Abs -> IO ()
|
throwCantOpenDirectory :: Path Abs -> IO ()
|
||||||
throwCantOpenDirectory fp =
|
throwCantOpenDirectory fp =
|
||||||
@ -332,8 +332,8 @@ bracketeer before after afterEx thing =
|
|||||||
|
|
||||||
|
|
||||||
reactOnError :: IO a
|
reactOnError :: IO a
|
||||||
-> [(IOErrorType, IO a)] -- ^ reaction on IO errors
|
-> [(IOErrorType, IO a)] -- ^ reaction on IO errors
|
||||||
-> [(HPathIOException, IO a)] -- ^ reaction on FmIOException
|
-> [(HPathIOException, IO a)] -- ^ reaction on HPathIOException
|
||||||
-> IO a
|
-> IO a
|
||||||
reactOnError a ios fmios =
|
reactOnError a ios fmios =
|
||||||
a `catches` [iohandler, fmiohandler]
|
a `catches` [iohandler, fmiohandler]
|
||||||
|
Loading…
Reference in New Issue
Block a user