Handles errors that might occur when the user attempts to open or print files.
- macOS 10.3+
The error that occurred. For a list of possible values, see
Delegates should invoke this method if an error is encountered in the
application(_: delegate methods.