LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
Pythonlangsmithsandbox_exceptionsSandboxOperationError
Class●Since v0.6

SandboxOperationError

Raised when a sandbox operation fails (run, read, write).

Copy
SandboxOperationError(
  self,
  message: str,
  operation: Optional[str] = None,
  error_type: Optional[str] = None
)

Bases

SandboxClientError

Constructors

constructor
__init__
NameType
messagestr
operationOptional[str]
error_typeOptional[str]

Attributes

attribute
operation: operation
attribute
error_type: error_type
View source on GitHub