C API - meaning of function return codes for bulk operations
There are many functions in libcouchbase that take an array of commands (e.g. lcb_get, lcb_store) and return a single lcb_error_t. It's not clear to me what this return value represents. For example, what if I lcb_get 100 keys and trigger both an LCB_KEY_ENOENT and an LCB_ENOMEM? Also, when would you rely on this error code as opposed to the one you get in the callbacks?