---
title: MLCreateErrorDomain
framework: createml
role: symbol
role_heading: Global Variable
path: createml/mlcreateerrordomain
---

# MLCreateErrorDomain

A global constant that defines the domain for Create ML errors.

## Declaration

```swift
let MLCreateErrorDomain: String
```

## See Also

### Identifying errors

- [MLCreateError.cancelled](createml/mlcreateerror/cancelled.md)
- [MLCreateError.incompatibleParameters(parameter:originalValue:newValue:)](createml/mlcreateerror/incompatibleparameters(parameter:originalvalue:newvalue:).md)
- [MLCreateError.modifiedTrainingData](createml/mlcreateerror/modifiedtrainingdata.md)
- [MLCreateError.io(reason:)](createml/mlcreateerror/io(reason:).md)
- [MLCreateError.type(reason:)](createml/mlcreateerror/type(reason:).md)
- [MLCreateError.generic(reason:)](createml/mlcreateerror/generic(reason:).md)
