code: def _mark_query_pack_error(self, query_pack):
      cache_key = query_pack.unique_id
      cache_entry = self._state_manager.get(cache_key)
      cache_entry["error"] = True
      self._state_manager.set(cache_key, cache_entry)
  
file_path: streamalert/streamalert/scheduled_queries/command/processor.py
imports: from logging import Logger
  from streamalert.scheduled_queries.query_packs.manager import QueryPacksManager
  from streamalert.scheduled_queries.state.state_manager import StateManager
  from streamalert.scheduled_queries.streamalert.kinesis import KinesisClient
label_desc: Use image node_id 6 for calling the CommandProcessor obj's underlying member method code with example usage: obj._mark_query_pack_error(query_pack) without return types