# tinker_cookbook.exceptions.SandboxError ## *class* [**tinker_cookbook.exceptions.SandboxError**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/exceptions.py#L208)(*[TinkerCookbookError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/tinkercookbookerror/index.md), RuntimeError*) An error related to code-execution sandboxes. Base class for sandbox errors — e.g. sandbox termination, timeouts, or unexpected sandbox failures. ## Referenced by - [tinker_cookbook.sandbox.SandboxTerminatedError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/sandbox/sandboxterminatederror/index.md)