ProxyProviders Exceptions

exception proxyproviders.exceptions.ProxyProviderException[source]

Bases: Exception

Base class for all ProxyProvider errors.

exception proxyproviders.exceptions.ProxyFetchException(message: str, status_code: int | None = None)[source]

Bases: ProxyProviderException

Raised when there is an error fetching proxies from the provider.

exception proxyproviders.exceptions.ProxyConversionException[source]

Bases: ProxyProviderException

Raised when there is an error converting proxy data to a standardized format.

exception proxyproviders.exceptions.ProxyInvalidResponseException(response: str)[source]

Bases: ProxyProviderException

Raised when the provider returns an invalid response.