Modified the properties of the query object returned by parseQuery when the query type is error. This API is considered stable so use it ;)