NSFile object sends this message to its handler for each error it encounters when copying, moving, removing, or linking files or directories.
- iOS 2.0–2.0Deprecated
- macOS 10.0–10.5Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
The file manager that sent this message.
A dictionary that contains two or three pieces of information (all
NSStringobjects) related to the error:
The path related to the error (usually the source path)
A description of the error
The destination path (not all errors)
YES if the operation (which is often continuous within a loop) should proceed, otherwise
manager, sends this message for each error it encounters when copying, moving, removing, or linking files or directories. The return value is passed back to the invoker of
link. If an error occurs and your handler has not implemented this method, the invoking method automatically returns