![]() |
Home · All Classes · alphabetical Classes List · Modules · Functions · |
The Error String or NULL depending how the error was constructed. Be carefull with stack and temporary objects, QxtError just saves the pointer you passed, not the actual data.
droping an error inside a function that returns QxtError
short for return QxtError(__FILE__,__LINE__,x);
droping an error inside a function that returns QxtError
aditionaly specifies an errorstring
short for return QxtError(__FILE__,__LINE__,x,s);
droping no error inside a function that returns QxtError
short for return QxtError(__FILE__,__LINE__,Qxt::NoError);
forward a drop
drops from this function if the call inside dropped too. the inner function must return or be a QxtError.
example
QXT_DROP_F(critical_function());
check for errors
example
QXT_DROP_SCOPE(error,critical_function()) { qDebug()<<error; QXT_DROP_F(error); };
short for QxtError name = call; if (name != Qxt::NoError )
(c) 2007A.Picciani and A.Higerd LGPL | libqxt 0.2 |