OnErrorResult
The result of the onError
function passed to Path.copyToRecursively that specifies further actions when an exception occurs.
Enum Values
SKIP_SUBTREE
If the entry that caused the error is a directory, skip the directory and its content, and continue with the next entry outside this directory in the traversal order. Otherwise, skip this entry and continue with the next entry in the traversal order.
TERMINATE
Stop the recursive copy function. The function will return without throwing exception. To terminate the function with an exception rethrow instead.