code: def _generate_message_error(cls, response_code, messages, response_id):
          
  
          line_response_code = cls._FORMAT_RESPONSE_CODE_LINE \
              .format(response_code)
          line_response_id = cls._FORMAT_RESPONSE_ID_LINE.format(response_id)
          line_error_message = cls._FORMAT_ERROR_MESSAGE_LINE.format(
              cls._GLUE_ERROR_MESSAGE_STRING_EMPTY.join(messages)
          )
  
          return cls._glue_all_error_message(
              [line_response_code, line_response_id, line_error_message]
          )
docs: :type response_code: int
          :type messages: list[str]
          :type response_id: str
  
          :rtype: str