MongoDB  2.7.0
Public Member Functions | Public Attributes | List of all members
mongo::ExceptionInfo Struct Reference

Public Member Functions

 ExceptionInfo (const char *m, int c)
 
 ExceptionInfo (const std::string &m, int c)
 
void append (BSONObjBuilder &b, const char *m="$err", const char *c="code") const
 
std::string toString () const
 
bool empty () const
 
void reset ()
 

Public Attributes

std::string msg
 
int code
 

The documentation for this struct was generated from the following files: