workflowController(_:didError:)
Notifies the delegate when the workflow encounters an error.
Declaration
optional func workflowController(_ controller: AMWorkflowController, didError error: any 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.