Enumeration

INIntentErrorCode

Constants for error codes returned by the framework.

Declaration

typedef enum INIntentErrorCode : NSInteger {
    ...
} INIntentErrorCode;

Topics

Interaction Errors

INIntentErrorInteractionOperationNotSupported

The INInteraction object could not be donated or deleted because those capabilities are not supported on the current device.

INIntentErrorDonatingInteraction

The INInteraction object could not be donated to the system. To determine the low-level cause of the problem, check the value of NSUnderlyingErrorKey in the error object’s userInfo dictionary.

INIntentErrorDeletingAllInteractions

The system was unable to delete all donated INInteraction objects. To determine the low-level cause of the problem, check the value of NSUnderlyingErrorKey in the error object’s userInfo dictionary.

INIntentErrorDeletingInteractionWithIdentifiers

The system was unable to delete the specified set of INInteraction objects. To determine the low-level cause of the problem, check the value of NSUnderlyingErrorKey in the error object’s userInfo dictionary.

INIntentErrorDeletingInteractionWithGroupIdentifier

The system was unable to delete the INInteraction objects using their group identifier. To determine the low-level cause of the problem, check the value of NSUnderlyingErrorKey in the error object’s userInfo dictionary.

Extension Errors

INIntentErrorExtensionLaunchingTimeout

The extension failed to launch in a timely manner.

INIntentErrorExtensionBringUpFailed

There was an error while trying to communicate with the extension.

INIntentErrorIntentSupportedByMultipleExtension

An intent was supported by more than one Intents extension in the same app. An app may have multiple Intents extensions, but each one must support a unique set of intents.

INIntentErrorRestrictedIntentsNotSupportedByExtension

An intent was listed in the IntentsRestrictedWhileLocked key of the app’s Info.plist, but not in the IntentsSupported key. All intents in the IntentsRestrictedWhileLocked key must also be present in the IntentsSupported key.

INIntentErrorNoHandlerProvidedForIntent

No object was provided to handle the specified intent. If your extension declares support for an intent in its Info.plist file, the handlerForIntent: method of its INExtension object must provide a corresponding handler object.

INIntentErrorInvalidIntentName

The extension declared support for a nonexistent intent. Check your extension’s Info.plist file to make sure all intent names are spelled correctly.

Other Errors

INIntentErrorRequestTimedOut

The underlying request timed out.

INIntentErrorInvalidUserVocabularyFileLocation

An invalid location was specified for the user vocabulary file.

See Also

Errors

INIntentErrorDomain

The error domain for the Intents framework.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software