summaryrefslogblamecommitdiffstats
path: root/g4f/errors.py
blob: 6032001b280bc08d59b3e966d54ec2eb53464b15 (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(ImportError):
    pass

class AiohttpSocksError(MissingRequirementsError):
    pass

class MissingAccessToken(Exception):
    pass