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