---
title: errorDescription
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlcreateerror/errordescription
---

# errorDescription

A localized, human-readable description of the error and why it occurred, if applicable.

## Declaration

```swift
var errorDescription: String? { get }
```

## See Also

### Describing errors in a user interface

- [errorCode](createml/mlcreateerror/errorcode.md)
- [errorUserInfo](createml/mlcreateerror/erroruserinfo.md)
- [failureReason](createml/mlcreateerror/failurereason.md)
