CuteHMI - CuteHMI (CuteHMI.2)
cutehmi::ErrorInfo Struct Reference

Error info. More...

#include <cutehmi/ErrorInfo.hpp>

Public Member Functions

QString toString () const
 Error info to string. More...
 

Public Attributes

int code
 Error code. More...
 
const char * errClass
 Error class. More...
 
QString str
 Error string. More...
 

Detailed Description

Error info.

Remarks
This class is registered as metatype by Init instance.
See also
errorInfo()

Member Function Documentation

◆ toString()

QString cutehmi::ErrorInfo::toString ( ) const

Error info to string.

Returns
multi-line string containing information extracted from ErrorInfo struct.

Member Data Documentation

◆ code

int cutehmi::ErrorInfo::code

Error code.

◆ errClass

const char* cutehmi::ErrorInfo::errClass

Error class.

◆ str

QString cutehmi::ErrorInfo::str

Error string.