mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-05 16:26:57 +08:00
59 lines
1.1 KiB
Python
59 lines
1.1 KiB
Python
class ProviderNotFoundError(Exception):
|
|
...
|
|
|
|
class ProviderNotWorkingError(Exception):
|
|
...
|
|
|
|
class StreamNotSupportedError(Exception):
|
|
...
|
|
|
|
class ModelNotFoundError(Exception):
|
|
...
|
|
|
|
class ModelNotAllowedError(Exception):
|
|
...
|
|
|
|
class RetryProviderError(Exception):
|
|
...
|
|
|
|
class RetryNoProviderError(Exception):
|
|
...
|
|
|
|
class VersionNotFoundError(Exception):
|
|
...
|
|
|
|
class MissingRequirementsError(Exception):
|
|
...
|
|
|
|
class NestAsyncioError(MissingRequirementsError):
|
|
...
|
|
|
|
class MissingAuthError(Exception):
|
|
...
|
|
|
|
class PaymentRequiredError(Exception):
|
|
...
|
|
|
|
class NoMediaResponseError(Exception):
|
|
...
|
|
|
|
class ResponseError(Exception):
|
|
...
|
|
|
|
class ResponseStatusError(Exception):
|
|
...
|
|
|
|
class CloudflareError(ResponseStatusError):
|
|
...
|
|
|
|
class RateLimitError(ResponseStatusError):
|
|
...
|
|
|
|
class NoValidHarFileError(Exception):
|
|
...
|
|
|
|
class TimeoutError(Exception):
|
|
"""Raised for timeout errors during API requests."""
|
|
|
|
class ConversationLimitError(Exception):
|
|
"""Raised for conversation limit during API requests to AI endpoint.""" |