Exception types
- Python
- TypeScript
Basic error handling
Handle specific errors
Authentication errors
Not found errors
Rate limiting
Access error details
Retry logic
Custom retry with backoff
Best practices
Always handle exceptions
Always handle exceptions
Never let exceptions propagate unchecked.
Be specific with exception handling
Be specific with exception handling
Catch specific exceptions before general ones.
Log errors with context
Log errors with context
Always log errors with relevant context for debugging.
Implement retry logic for transient errors
Implement retry logic for transient errors
Retry operations that might fail temporarily.
Next steps
Advanced usage
Advanced SDK features
Installation
SDK installation and setup