summaryrefslogtreecommitdiff
path: root/pages/page_exit.eh
blob: 5101171b8ad8577a638f4e04ef1cd4d5c7db62e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<# do not add to Makefile #>
<%pre>
#include "exception.h"
</%pre>
<%cpp>
	spoint.commit();
} catch ( vdrlive::HtmlError const& ex ) {
#if TNTVERSION >= 1606
	tnt::QueryParams param = qparam;
#else
	cxxtools::QueryParams param = qparam;
#endif
	param.add( "pageTitle", pageTitle );
	param.add( "errorMessage", ex.what() );
	callComp( "error", request, reply, param );
}
</%cpp>