Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
Currently the only way to find out what "kind" of error is returned by GoCB is to do a string comparison, which is brittle.
Ideally, it should return errors that can be compared against global constants like:
if err == gocb.ERR_NOT_FOUND
{ // do something }Attachments
Issue Links
- relates to
-
GOCBC-76 Improve error system
- Resolved