Enumeration

INIntentError.Code

Constants for error codes returned by the framework.

Declaration

enum INIntentError.Code : Int, _ErrorCodeProtocol

Topics

Interaction Errors

case interactionOperationNotSupported

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

case donatingInteraction

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.

case deletingAllInteractions

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.

case deletingInteractionWithIdentifiers

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.

case deletingInteractionWithGroupIdentifier

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

case extensionLaunchingTimeout

The extension failed to launch in a timely manner.

case extensionBringUpFailed

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

case intentSupportedByMultipleExtension

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.

case restrictedIntentsNotSupportedByExtension

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.

case noHandlerProvidedForIntent

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

case invalidIntentName

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

case requestTimedOut

The underlying request timed out.

case invalidUserVocabularyFileLocation

An invalid location was specified for the user vocabulary file.

See Also

Errors

struct INIntentError

Errors returned by SiriKit.

let INIntentErrorDomain: String

The error domain for the Intents framework.