One Logo Pool Ball
AppIntents · IOS API REFERENCE

CustomAppIntentErrorConvertible

protocol · iOS 27.0+ · SDK 27.1

protocol CustomAppIntentErrorConvertible

A type that the system automatically converts to an app intent error. Conform your custom type to this protocol when you need full control over the ``AppIntentError`` that the system produces — including the error kind and localized description. When you throw a conforming error from a method such as ``AppIntent/perform()`` or ``EntityQuery/entities(for:)``, the framework reads the ``appIntentError`` property and uses it directly. If an error conforms to both <doc://com.apple.documentation/documentation/foundation/CustomLocalizedStringResourceConvertible> and ``CustomAppIntentErrorConvertible``, the system uses only ``CustomAppIntentErrorConvertible``.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →