AMError.Code.userCanceledError
An error that indicates the user cancelled.
Declaration
case userCanceledErrorDiscussion
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.