Propagate error message received from the server to the callback function

It is ofter useful for browser apps to show the error message received from the server. (e.g. the SPARQL query has a syntax error).
See an example at http://tools.ebusiness-unibw.org/tools/sparql-tutorial/ .