Description
If the query service responds to a request with a 200 then we return a request and ignore any errors. We need to way for users to access any errors that are returned alongside a response. This is easy to repro by doing a n1ql INSERT against an existing key.
There's no good way to bubble this up, errors are returned after results in the payload so we can't return the error in the Query call. We may need to hijack the result.Err() call to expose this.