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

# MLCreateError.io(reason:)

An error that indicates an I/O failure.

## Declaration

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