                             if final_query
                                 query_result.set error, result
                             else if error
-                                @results_view.render_error(@query, err)
+                                @results_view_wrapper.render_error(@query, err)
                             else
                                 @execute_portion()
 

            @codemirror.setCursor @codemirror.lineCount(), 0
            if @codemirror.getValue() is '' # We show suggestion for an empty query only
                @handle_keypress()
            @results_view.init_after_dom_rendered()

            @draft = @codemirror.getValue()



            count_group: count_group
            parse_level: parse_level

        # Decide if we have to show a suggestion or a description
        # Mainly use the stack created by extract_data_from_query
