4 #ifndef DMLITE_CPP_STATUS_H 5 #define DMLITE_CPP_STATUS_H 7 #include "dmlite/common/config.h" 30 int code()
const throw();
31 const char*
what()
const throw();
33 bool ok()
const throw();
40 void setMessage(
const char* fmt, va_list args);
44 #endif // DMLITE_CPP_STATUS_H DmException exception() const
const char * what() const
Base exception class.
Definition: exceptions.h:17
void setMessage(const char *fmt, va_list args)
int errorCode_
Definition: status.h:37
Exceptions used by the API.
std::string errorMsg_
Definition: status.h:38
Namespace for the dmlite C++ API.
Definition: authn.h:16