def checkAuthError(self, response):

        if response.code == 401:
            raise jsonrpc.JSONRPCError('Unauthorized', jsonrpc.INVALID_REQUEST)
        return response
Check for authentication error.
dataset/ETHPy150Open tadeas/fastjsonrpc/fastjsonrpc/client.py/Proxy.checkAuthError