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 = None, traceback = None, message = "An error occurred with the XMRig database. Please check the database configuration."):
        super().__init__(error, traceback, message)