32#ifndef _QX_SQL_ERROR_H_
33#define _QX_SQL_ERROR_H_
49#include <QtCore/qbytearray.h>
51#include <QtSql/qsqlerror.h>
70#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0))
77 virtual const char *
what()
const throw() {
if (
m_error.isValid()) { return m_errorMessage.constData(); }
else { return
""; } }
sql_error(const QSqlError &err)
QByteArray m_errorMessage
virtual const char * what() const
qx::exception : exception with error code and error description
Database communication used by persistence engine (ORM - Object Relational Mapping)
Root namespace for all QxOrm library features.