parameters: (self, msg)
return_statement: return {"type": "SerializeError", "data": msg}
docstring: Generates an error token with the given message
  
          :arg msg: the error message
  
          :returns: SerializeError token
docstring_summary: Generates an error token with the given message
docstring_tokens: Generates an error token with the given message
function: 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}
function_tokens: def error ( self , msg ) : return { "type" : "SerializeError" , "data" : msg }