summaryrefslogblamecommitdiffstats
path: root/venv/lib/python3.9/site-packages/pypasser/exceptions.py
blob: 5b5d9152d4cd70e1a16a9abea8590608533ac0cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                                                       
class RecaptchaTokenNotFound(Exception):
    def __init__(self):
        super().__init__('Recaptcha token not found.')

class RecaptchaResponseNotFound(Exception):
    def __init__(self):
        super().__init__('Recaptcha response not found.')
        
class ConnectionError(Exception):
    pass

class IpBlock(Exception):
    def __init__(self):
        super().__init__('Too many tries for solving reCaptchaV2 using speech to text, take a break or change your ip.')