Commit Graph

7 Commits

Author SHA1 Message Date
Julian Ospald ef66a24f87
Improve error handling
* remove some obsolete functions and error types from HPath.IO.Errors
  that are completely unused
* reworked the RecursiveFailure type to contain more information,
  so we can use it to programmatically make useful choices
  without examining the weakly types IO error attributes (like
  'ioGetFileName')
2016-06-14 19:13:25 +02:00
Julian Ospald a1eb06324f
Rm unused imports 2016-06-05 16:09:34 +02:00
Julian Ospald d708f80a1f
TESTS: don't assume ordering of exceptions 2016-06-05 15:37:26 +02:00
Julian Ospald f07619b7c6
TESTS: fix before/after 2016-06-05 15:25:57 +02:00
Julian Ospald c5bcb90b65
TESTS: don't use lazy IO -.- 2016-06-05 14:55:21 +02:00
Julian Ospald bc348c7dd5
TESTS: less side effects plz 2016-06-05 14:33:53 +02:00
Julian Ospald 64ae6db83a
New API: use CopyMode for overwriting and introduce RecursiveMode
This allows to specify the behavior on recursive operations,
such that one can collect failures instead of dying on the first
failure.
2016-06-05 03:13:33 +02:00