[Move the code for parse errors into the template system Neil Mitchell**20110131195958] { hunk ./datadir/resources/template.html 73 + +#export parseError +

$!errFormat$

+

+ Parse error: $&errMessage$ +

+ For information on what queries should look like, see the + user manual. +

+ hunk ./src/Web/Page.hs 37 +parseError errFormat errMessage = "" + ++ "

" + ++ errFormat + ++ "

\n

\n\tParse error: " + ++& errMessage + ++ "\n

\n\tFor information on what queries should look like, see the\n\tuser manual.\n

\n" + hunk ./src/Web/Response.hs 82 - ["

" ++ showTagHTMLWith f (parseInput err) ++ "

" - ,"

" - ," Parse error: " ++& errorMessage err - ,"

" - ," For information on what queries should look like, see the" - ," user manual." - ,"

" - ] + [parseError (showTagHTMLWith f $ parseInput err) (errorMessage err)] }