gpt4free/g4f/errors.py
Heiner Lohaus d743ee0c26 Add error classes
Move version check to debug
2023-12-11 00:56:06 +01:00

26 lines
444 B
Python

class ProviderNotFoundError(Exception):
pass
class ProviderNotWorkingError(Exception):
pass
class StreamNotSupportedError(Exception):
pass
class AuthenticationRequiredError(Exception):
pass
class ModelNotFoundError(Exception):
pass
class ModelNotAllowed(Exception):
pass
class RetryProviderError(Exception):
pass
class RetryNoProviderError(Exception):
pass
class VersionNotFoundError(Exception):
pass