def error(msg, s, **kwargs):
    kwargs['error'] = True
    msg.tag('isError')
    return reply(msg, s, **kwargs)
Makes an error reply to msg with the appropriate error payload.
dataset/ETHPy150Open ProgVal/Limnoria/src/callbacks.py/error