Name

lcb_get_last_error — Get the last error code set by a function

Synopsis

cc [ flag … ] file… -lcouchbase [ library … ]

#include <libcouchbase/couchbase.h>
lcb_error_t lcb_get_last_error(lcb_t instance);

DESCRIPTION

The function lcb_get_last_error() may be used to retrieve the last error code set by the library.

RETURN VALUES

lcb_get_last_error() returns the last error code set by a function in libcouchbase.

ATTRIBUTES

See lcb_attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE

Interface Stability

Committed

MT-Level

MT-Safe

COPYRIGHT

Copyright 2010-2013 Couchbase, Inc.

SEE ALSO

Learn more at http://www.couchbase.com/communities/c.

libcouchbase(3lib), lcb_strerror(3couchbase), lcb_attributes(5)