diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2023-12-11 00:56:06 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2023-12-11 00:56:06 +0100 |
commit | d743ee0c26f00916233d751f2f375be414487d49 (patch) | |
tree | 4377351363d186fefdf7d1eed27a4fde39f173a3 /g4f/errors.py | |
parent | Improve error handling in gui (diff) | |
download | gpt4free-d743ee0c26f00916233d751f2f375be414487d49.tar gpt4free-d743ee0c26f00916233d751f2f375be414487d49.tar.gz gpt4free-d743ee0c26f00916233d751f2f375be414487d49.tar.bz2 gpt4free-d743ee0c26f00916233d751f2f375be414487d49.tar.lz gpt4free-d743ee0c26f00916233d751f2f375be414487d49.tar.xz gpt4free-d743ee0c26f00916233d751f2f375be414487d49.tar.zst gpt4free-d743ee0c26f00916233d751f2f375be414487d49.zip |
Diffstat (limited to 'g4f/errors.py')
-rw-r--r-- | g4f/errors.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/g4f/errors.py b/g4f/errors.py new file mode 100644 index 00000000..b554aead --- /dev/null +++ b/g4f/errors.py @@ -0,0 +1,26 @@ +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
\ No newline at end of file |