Skip to content

XMRigAuthorizationError

Bases: XMRigAPIError

Exception raised when an authorization error occurs with the XMRig API.

Source code in xmrig/exceptions.py
class XMRigAuthorizationError(XMRigAPIError):
    """
    Exception raised when an authorization error occurs with the XMRig API.
    """
    def __init__(self, error = None, traceback = None, message = "Access token is required but not provided. Please provide a valid access token."):
        super().__init__(error, traceback, message)