# 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/index.md), 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.thinkingmachines.ai/cookbook/api-reference/exceptions/dataformaterror/index.md) - [tinker_cookbook.exceptions.DataValidationError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/datavalidationerror/index.md)