scrapling / src /scrapers /tor /exceptions.py
GraziePrego's picture
Upload original Scraper_hub repo as-is
eb37804 verified
raw
history blame contribute delete
658 Bytes
class TorException(Exception):
"""Base exception for Tor-related errors"""
pass
class TorConnectionError(TorException):
"""Raised when there's an error connecting to the Tor network"""
pass
class TorInitializationError(TorException):
"""Raised when Tor service fails to initialize"""
pass
class TorCircuitError(TorException):
"""Raised when there's an error creating or managing Tor circuits"""
pass
class OnionServiceError(TorException):
"""Raised when there's an error accessing an onion service"""
pass
class TorProxyError(TorException):
"""Raised when there's an error with the Tor SOCKS proxy"""
pass