(self, msg)
return {"type": "SerializeError", "data": msg}
Generates an error token with the given message

        :arg msg: the error message

        :returns: SerializeError token
Generates an error token with the given message
Generates an error token with the given message
def error(self, msg):
        """Generates an error token with the given message

        :arg msg: the error message

        :returns: SerializeError token

        """
        return {"type": "SerializeError", "data": msg}
def error ( self , msg ) : return { "type" : "SerializeError" , "data" : msg }