# tinker_cookbook.exceptions.WeightsError

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

An error related to weight download, merge, or export.

Grouping base for weights-related errors. Does not inherit from a stdlib exception — use the specific subclasses which each carry exactly one stdlib base appropriate to their failure mode.

## Referenced by

- [tinker_cookbook.exceptions.WeightsAdapterError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/weightsadaptererror/)
- [tinker_cookbook.exceptions.WeightsDownloadError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/weightsdownloaderror/)
- [tinker_cookbook.exceptions.WeightsMergeError](https://tinker-docs.thinking-machines.ai/cookbook/api-reference/exceptions/weightsmergeerror/)
