MongoDB C++ Driver
legacy-1.1.2
|
helper class that builds error strings. More...
#include <assert_util.h>
helper class that builds error strings.
lighter weight than a StringBuilder, albeit less flexible. NOINLINE_DECL used in the constructor implementations as we are assuming this is a cold code path when used.
example: throw UserException(123, ErrorMsg("blah", num_val));