Fix undefined error function
Fix undefined error function

Replace calls to undefined `error` function with direct `throw`
statements.

piotch/jQuery-QueryBuilder-Elasticsearch,piotch/jQuery-QueryBuilder-Elasticsearch,simonwfarrow/jQuery-QueryBuilder-Elasticsearch,simonwfarrow/jQuery-QueryBuilder-Elasticsearch