Skip to content

P2PoolDatabaseError

Bases: P2PoolAPIError

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

Source code in p2pool/exceptions.py
class P2PoolDatabaseError(P2PoolAPIError):
    """
    Exception raised when a database error occurs with the P2Pool API.
    """
    def __init__(self, error = None, traceback = None, message = "An error occurred with the P2Pool database. Please check the database configuration."):
        super().__init__(error, traceback, message)