Skip to content

XMRigDatabaseError

Bases: XMRigAPIError

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

Source code in xmrig/exceptions.py
class XMRigDatabaseError(XMRigAPIError):
    """
    Exception raised when a database error occurs with the XMRig API.
    """
    def __init__(self, error: str = None, traceback: str = None, message: str = "An error occurred with the XMRig database. Please check the database configuration.") -> None:
        super().__init__(error, traceback, message)