summaryrefslogtreecommitdiffstats
path: root/g4f/errors.py
blob: 6032001b280bc08d59b3e966d54ec2eb53464b15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
class ProviderNotFoundError(Exception):
    pass

class ProviderNotWorkingError(Exception):
    pass

class StreamNotSupportedError(Exception):
    pass

class AuthenticationRequiredError(Exception):
    pass

class ModelNotFoundError(Exception):
    pass

class ModelNotAllowedError(Exception):
    pass

class RetryProviderError(Exception):
    pass

class RetryNoProviderError(Exception):
    pass

class VersionNotFoundError(Exception):
    pass

class NestAsyncioError(Exception):
    pass

class ModelNotSupportedError(Exception):
    pass

class MissingRequirementsError(ImportError):
    pass

class AiohttpSocksError(MissingRequirementsError):
    pass

class MissingAccessToken(Exception):
    pass