Enumeration

AMError.Code

No overview available.

Declaration

enum AMError.Code : Int, _ErrorCodeProtocol

Topics

Enumeration Cases

case actionApplicationResourceError

An application required by the action is not found.

case actionApplicationVersionResourceError

An application required by the action is the wrong version.

case actionArchitectureMismatchError

The action's binary is not compatible with the current processor; actions compiled for PowerPC, for example, would encounter this error on Intel systems.

case actionExceptionError

An action encounters an exception while running.

case actionExecutionError

An action encounters an error while running (reason unknown).

case actionFailedGatekeeperError

This action doesn’t meet the Gatekeeper security policy.

case actionFileResourceError

A file required by the action is not found.

case actionInitializationError

Automator is unable to initialize an action (reason unknown).

case actionInsufficientDataError

The action requires input data to run, but none was supplied.

case actionIsDeprecatedError

The action has been deprecated. Use a replacement action, if available.

case actionLicenseResourceError

A license required by the action was not found. The only license currently supported is QuickTime Pro.

case actionLinkError

The action's executable failed to load due to linking issues.

case actionLoadError

The action's executable failed to load; for example, there may have been a problem with a library it depends on.

case actionMalwareError

This action has been identified as malware by XProtect.

case actionNotLoadableError

The action's executable is of a type that is not loadable in the current process. If the action uses a custom subclass of AMBundleAction or AMAppleScriptAction, then the most likely problem is that the bundle's executable is missing or the NSPrincipleClass is not set in the Info.plist. Users are likely to be confused by a “missing bundle” error, so Automator presents it as the more generic “action not loadable” error.

case actionPropertyListInvalidError

The property list (Info.plist) for an action is invalid; it could be missing, damaged, or constructed improperly.

case actionQuarantineError

This action has been quarantined by XProtect, the antimalware system on the Mac.

case actionRequiredActionResourceError

An action required by the action is not loaded.

case actionRuntimeMismatchError

An attempt was made to load an action that is not compiled in a way that is compatible with the current application; for example, the action may be compiled for 32-bit applications.

case actionSignatureCorruptError

The developer signature for this action is corrupted.

case actionXProtectError

XProtect is unable to successfully analyze the action.

case conversionFailedError

Occurs when, for example, the converter encounters an error converting data from one type to another.

case conversionNoDataError

The converter determines that a given conversion, though possible, would produce a nil result. Not displayed to the user.

case conversionNotPossibleError

The converter determines that it is unable to convert from one data type to another. Not displayed to the user.

case noSuchActionError

The action could not be located on the system.

case userCanceledError

The user cancelled. This error is the same as the AppleScript error userCanceledErr, defined in MacErrors.h. 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.

case workflowNewerActionVersionError

An action in a workflow is newer than the installed action; this error is presented to the user as a warning.

case workflowNewerVersionError

Attempt to open a workflow document that was saved with a newer version of Automator.

case workflowOlderActionVersionError

An action in a workflow is older than the installed action; this error is presented to the user as a warning.

case workflowPropertyListInvalidError

Attempt to open a workflow document whose property list (document.wflow) could not be read; the property list document could be missing, damaged, or constructed improperly.