summaryrefslogblamecommitdiffstats
path: root/g4f/errors.py
blob: 66d41d4cf64beffe9126f06240a5670c0d9e8022 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                             
                                      








                                      


                                  


                                        

        






                                                  
       
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(Exception):
    pass

class AiohttpSocksError(MissingRequirementsError):
    pass

class MissingAccessToken(Exception):
    pass