# 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/index.md)*) 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/index.md) - [tinker_cookbook.exceptions.WeightsDownloadError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/weightsdownloaderror/index.md) - [tinker_cookbook.exceptions.WeightsMergeError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/weightsmergeerror/index.md)