Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GOCBC-907: Add extra search error fields
Motivation ---------- At the moment when we get an unknown search error we return an error with "search error | {...}" the information contained doesn't actually cover why the search failed. This detail is already exposed from gocbcore we just aren't exposing it in gocb. Changes ------- Update error wrapping to handle search errors. Add ErrorText and IndexName fields to SearchError. Change-Id: Id458cdc56e767aa655087ebd78001883b04fd465 Reviewed-on: http://review.couchbase.org/c/gocb/+/129529 Reviewed-by: Brett Lawson <brett19@gmail.com> Tested-by: Charles Dixon <chvckd@gmail.com>
- Loading branch information