def error(client, cmdid, text):
    cmd = client.in_progress.pop(cmdid)
    raise ServerError(cmd, text)
Handle error messages in response to commands.
dataset/ETHPy150Open PaulMcMillan/kismetclient/kismetclient/handlers.py/error