Skip to content

P2PoolConnectionError

Bases: P2PoolAPIError

Exception raised when a connection error occurs with the P2Pool API.

Source code in p2pool/exceptions.py
class P2PoolConnectionError(P2PoolAPIError):
    """
    Exception raised when a connection error occurs with the P2Pool API.
    """
    def __init__(self, error = None, traceback = None, message = "Failed to connect to the P2Pool API. Please check the IP, port, and network connection."):
        super().__init__(error, traceback, message)