def typestr(self):
        try:
            return message_types[self.msgtype]
        except KeyError:
            return "unknown message type: %s" % str(self.msgtype)
dataset/ETHPy150Open coreemu/core/daemon/core/api/coreapi.py/CoreMessage.typestr/original