@staticmethod
    def error(_type, msg, xml=None):
        return Response._build(_type, 'error', msg, xml)
Build error response
dataset/ETHPy150Open CiscoDevNet/yang-explorer/server/explorer/utils/misc.py/Response.error