NAME
Couchbase::Couch::HandleInfo - Handle-oriented informational subclass of Couchbase::Client::Return
DESCRIPTION
This object subclasses Couchbase::Client::Return and fulfills the same role ( but for couchbase view requests, rather than memcached operations).
ADDED FIELDS
These fields are added to the Couchbase::Client::Return object
http_code
Returns the HTTP status code for the operation
path
Returns the HTTP URI for this operation
count
Returns the count (if any) for the matched result
errinfo
Returns extended (non-http, non-libcouchbase, non-memcached) error information. This is usually a hash converted from a JSON error response.
REMOVED FIELDS
The following fields have been unimplemented from Couchbase::Client::Return
cas
There is no explicit documented method for the server to return the cas, although it is somewhat expressed in the rev
field.
REIMPLEMENTED FIELDS
The following fields behave differently in this subclass
is_ok
errstr
In addition to checking the libcouchbase and memcached error codes, also checks the HTTP codes and the JSON-level server errors