Move documentation note about RecursiveFailure where it belongs
This commit is contained in:
parent
a31c9d1e88
commit
ce7fdcdcd6
@ -227,7 +227,9 @@ data FileType = Directory
|
||||
--
|
||||
-- On `CollectFailures` skips errors in the recursion and keeps on recursing.
|
||||
-- However all errors are collected in the `RecursiveFailure` error type,
|
||||
-- which is raised finally if there was any error.
|
||||
-- which is raised finally if there was any error. Also note that
|
||||
-- `RecursiveFailure` does not give any guarantees on the ordering
|
||||
-- of the collected exceptions.
|
||||
data RecursiveErrorMode = FailEarly
|
||||
| CollectFailures
|
||||
|
||||
@ -263,9 +265,6 @@ data CopyMode = Strict -- ^ fail if any target exists
|
||||
-- the operation has completed. Permissions of existing directories are
|
||||
-- fixed.
|
||||
--
|
||||
-- Note that there is no guaranteed ordering of the exceptions
|
||||
-- contained within `RecursiveFailure` in `CollectFailures` RecursiveErrorMode.
|
||||
--
|
||||
-- Safety/reliability concerns:
|
||||
--
|
||||
-- * not atomic
|
||||
|
Loading…
Reference in New Issue
Block a user