Invoked when the receiver's workflow encounters an error.
SDK
- macOS 10.4–10.13Deprecated
Framework
- Automator
Declaration
- (void)workflowController:(AMWorkflow Controller *)controller didError:(NSError *)error;
Parameters
controller
The controller object sending the message.
error
If a workflow error occurs, upon return contains an instance of
NSError
that describes the problem.