1 #ifndef _Q_DIANA_DEBUG_HH_
2 #define _Q_DIANA_DEBUG_HH_
7 namespace std {
class exception; };
14 void Abort(std::exception& ex);
15 void Abort(
const std::string& str);
26 #define DianaThrow(obj)\
28 if(Diana::DianaDebug) {\
30 std::cout << "Debug Abort is set" << std::endl;\
void diana_stacktrace(std::ostream &o=std::cout, size_t MaxLines=63)
error class with error type and description
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...
void Abort(const QError &err)
void SetDianaDebug(bool value)