# 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/), 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/)
