userCanceledError
An error that indicates the user cancelled.
Declaration
static var userCanceledError: AMError.Code { get }Discussion
This error is the same as the AppleScript error userCanceledErr. When an Apple Event is canceled by the user, a running action may return this error. Automator ignores the error and stops the workflow gracefully, without displaying the error to the user.
See Also
Error Codes
workflowActionsNotLoadedErrorworkflowNewerActionVersionErrorworkflowNewerVersionErrorworkflowNoEnabledActionsErrorworkflowOlderActionVersionErrorworkflowPropertyListInvalidErroractionApplicationResourceErroractionApplicationVersionResourceErroractionArchitectureMismatchErroractionExceptionErroractionExecutionErroractionFailedGatekeeperErroractionFileResourceErroractionInitializationErroractionInsufficientDataError