ops
This commit is contained in:
49
lib/cloudscraper/exceptions/reCaptcha_exceptions.py
Normal file
49
lib/cloudscraper/exceptions/reCaptcha_exceptions.py
Normal file
@@ -0,0 +1,49 @@
|
||||
# ------------------------------------------------------------------------------- #
|
||||
|
||||
|
||||
class reCaptcha_Service_Unavailable(Exception):
|
||||
"""
|
||||
Raise error for external services that cannot be reached
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Error_From_API(Exception):
|
||||
"""
|
||||
Raise error for error from API response.
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Account_Error(Exception):
|
||||
"""
|
||||
Raise error for reCaptcha provider account problem.
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Timeout(Exception):
|
||||
"""
|
||||
Raise error for reCaptcha provider taking too long.
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Bad_Parameter(NotImplementedError):
|
||||
"""
|
||||
Raise error for bad or missing Parameter.
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Bad_Job_ID(Exception):
|
||||
"""
|
||||
Raise error for invalid job id.
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Report_Error(Exception):
|
||||
"""
|
||||
Raise error for reCaptcha provider unable to report bad solve.
|
||||
"""
|
||||
|
||||
|
||||
class reCaptcha_Import_Error(Exception):
|
||||
"""
|
||||
Raise error for reCaptcha, cannot import a module.
|
||||
"""
|
||||
Reference in New Issue
Block a user