this isn't going to handle stack traces, you should put in at the last

```js
try {
Error.captureStackTrace(this, queryParseError)
} catch (e){}
```