---
title: CustomAppIntentErrorConvertible
framework: appintents
role: symbol
role_heading: Protocol
path: appintents/customappintenterrorconvertible
---

# CustomAppIntentErrorConvertible

A type that the system automatically converts to an app intent error.

## Declaration

```swift
protocol CustomAppIntentErrorConvertible
```

## Overview

Overview 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 perform() or entities(for:), the framework reads the appIntentError property and uses it directly. If an error conforms to both CustomLocalizedStringResourceConvertible and CustomAppIntentErrorConvertible, the system uses only CustomAppIntentErrorConvertible.

## Topics

### Instance Properties

- [appIntentError](appintents/customappintenterrorconvertible/appintenterror.md)

## See Also

### Errors

- [AppIntentError](appintents/appintenterror.md)
