Exceptions¶
All exceptions inherit from APIError and expose message and status_code attributes.
APIError
├── AuthenticationError
├── RateLimitError
├── TranslationError
├── TTSGenerationError
└── ASRTranscriptionError
khaya.exceptions.APIError(message, status_code)
¶
Bases: Exception
Base class for API errors.