---
title: "MLCreateError.generic(reason:)"
framework: createml
role: symbol
role_heading: Case
path: "createml/mlcreateerror/generic(reason:)"
---

# MLCreateError.generic(reason:)

An error that indicates a failure not covered by one of the other errors.

## Declaration

```swift
case generic(reason: 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)
- [MLCreateErrorDomain](createml/mlcreateerrordomain.md)
