Base Exception
HopxError
Base exception for all Hopx SDK errors.
API Errors
APIError
Base class for API-related errors.
AuthenticationError
Authentication failed (401).
NotFoundError
Resource not found (404).
RateLimitError
Rate limit exceeded (429).
Agent Operation Errors
FileNotFoundError
File or directory not found in sandbox.
CodeExecutionError
Code execution failed.
CommandExecutionError
Command execution failed.
DesktopNotAvailableError
Desktop automation not available in this sandbox.
Error Handling Best Practices
1. Catch Specific Exceptions
2. Check Error Properties
Related
- Sandbox Class - Main sandbox class
- Code Execution - Code execution errors
- File Operations - File operation errors

