# tinker_cookbook.exceptions.DataError

## _class_ [**tinker_cookbook.exceptions.DataError**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/exceptions.py#L89)( _[TinkerCookbookError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/tinkercookbookerror/), ValueError_)

An error related to training or evaluation data.

Base class for data-related errors. Inherits from `ValueError`
for backward compatibility.

## Referenced by

- [tinker_cookbook.exceptions.DataFormatError](https://tinker-docs.thinking-machines.ai/cookbook/api-reference/exceptions/dataformaterror/)
- [tinker_cookbook.exceptions.DataValidationError](https://tinker-docs.thinking-machines.ai/cookbook/api-reference/exceptions/datavalidationerror/)
