= lcb_get_last_error(3couchbase) :doctype: manpage Trond Norbye NAME ---- lcb_get_last_error - Get the last error code set by a function SYNOPSIS -------- cc [ flag ... ] file... -lcouchbase [ library ... ] #include 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: [options="header"] |======================================= | ATTRIBUTE TYPE | ATTRIBUTE VALUE | Interface Stability | Committed | MT-Level | MT-Safe |======================================= COPYRIGHT --------- Copyright 2010-2013 Couchbase, Inc. SEE ALSO -------- Learn more at . libcouchbase(3lib), lcb_strerror(3couchbase), lcb_attributes(5)