<NME> error.txt.erb
<BEF> ADDFILE
<MSG> - Add error text template

<DFF> @@ -0,0 +1,4 @@
+An error occured in query '<%= params[:q] %>'
+ERROR:
+
+<%= @results.error_message %>

- Add error text template