2023-07-12 17:18:56 +08:00
|
|
|
class NoAudioUploadedServiceError(Exception):
|
|
|
|
|
pass
|
2023-07-07 17:50:42 +08:00
|
|
|
|
|
|
|
|
|
2023-07-12 17:18:56 +08:00
|
|
|
class AudioTooLargeServiceError(Exception):
|
|
|
|
|
pass
|
2023-07-07 17:50:42 +08:00
|
|
|
|
|
|
|
|
|
2023-07-12 17:18:56 +08:00
|
|
|
class UnsupportedAudioTypeServiceError(Exception):
|
|
|
|
|
pass
|
2023-07-07 17:50:42 +08:00
|
|
|
|
2024-01-24 01:05:37 +08:00
|
|
|
|
2023-07-12 17:18:56 +08:00
|
|
|
class ProviderNotSupportSpeechToTextServiceError(Exception):
|
2024-01-24 01:05:37 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
2026-07-13 12:21:29 +08:00
|
|
|
class SpeechToTextDisabledServiceError(Exception):
|
|
|
|
|
"""Raised when the effective app configuration disables speech-to-text."""
|
|
|
|
|
|
|
|
|
|
|
2024-01-24 01:05:37 +08:00
|
|
|
class ProviderNotSupportTextToSpeechServiceError(Exception):
|
|
|
|
|
pass
|
2024-02-15 22:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class ProviderNotSupportTextToSpeechLanageServiceError(Exception):
|
|
|
|
|
pass
|