#include <assert_util.h>
Public Member Functions | |
void | append (BSONObjBuilder &b, const char *m="$err", const char *c="code") const |
bool | empty () const |
ExceptionInfo (const string &m, int c) | |
ExceptionInfo (const char *m, int c) | |
ExceptionInfo () | |
string | toString () const |
Public Attributes | |
int | code |
string | msg |
Definition at line 45 of file assert_util.h.
mongo::ExceptionInfo::ExceptionInfo | ( | ) | [inline] |
Definition at line 46 of file assert_util.h.
mongo::ExceptionInfo::ExceptionInfo | ( | const char * | m, | |
int | c | |||
) | [inline] |
Definition at line 47 of file assert_util.h.
mongo::ExceptionInfo::ExceptionInfo | ( | const string & | m, | |
int | c | |||
) | [inline] |
Definition at line 50 of file assert_util.h.
void mongo::ExceptionInfo::append | ( | BSONObjBuilder & | b, | |
const char * | m = "$err" , |
|||
const char * | c = "code" | |||
) | const |
bool mongo::ExceptionInfo::empty | ( | ) | const [inline] |
Definition at line 55 of file assert_util.h.
string mongo::ExceptionInfo::toString | ( | ) | const [inline] |
Definition at line 54 of file assert_util.h.
Definition at line 58 of file assert_util.h.
string mongo::ExceptionInfo::msg |
Definition at line 57 of file assert_util.h.