summaryrefslogblamecommitdiffstats
path: root/g4f/errors.py
blob: 15bfafbd6273823d9de4aa7a9d9bee3606e82248 (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 MissingAiohttpSocksError(MissingRequirementsError):
    pass

class MissingAccessToken(Exception):
    pass