History log of /6.0.3/kv_engine/engines/utilities/CMakeLists.txt (Results 1 - 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0, v6.5.1, v6.0.4, v6.5.0, v6.0.3, v5.5.4, v5.5.5, v5.5.6, v6.0.1, v5.5.3, v6.0.0, v5.1.3, v5.5.2, v5.5.1, v5.1.2, v5.1.1, v5.0.1, v5.1.0, v5.0.0, v4.6.2_ep, v4.6.2_mc, v4.6.1_ep
# d61bd6e7 28-Dec-2016 Trond Norbye <trond.norbye@gmail.com>

Add engine_error exception and error_category

This allows us for using std::system_error-style exceptions
like:

throw cb::engine_error(cb::engine_errc::too_big, "more info")

Add engine_error exception and error_category

This allows us for using std::system_error-style exceptions
like:

throw cb::engine_error(cb::engine_errc::too_big, "more info");

and catch them somewhere else and look at the error code or
just dump the full info with what().

Engines who want to use the methods should link with
engine_utilities

Change-Id: I59a2fae2e9c344d49169c58787702fc4172d8090
Reviewed-on: http://review.couchbase.org/71333
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...