---
title: error
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mldatatable/error
---

# error

The underlying error present when the data table is invalid.

## Declaration

```swift
var error: (any Error)? { get }
```

## See Also

### Handling data table errors

- [isValid](createml/mldatatable/isvalid.md)
