Presents an error alert to the user as a modal panel.
- macOS 10.4+
The error object encapsulating the information to present to the user.
true if error recovery was done; otherwise,
This method does not return until the user dismisses the alert and, if the error has recovery options and a recovery delegate, the error’s recovery delegate is sent an
NSDocument default implementation of this method is equivalent to that of
NSResponder and treats the shared
NSDocument as the next responder and forwards these messages to it.
The default implementation of this method invokes
will to give subclasses an opportunity to customize error presentation. You should not override this method but should instead override