summaryrefslogtreecommitdiff
path: root/libsql/osqlerror.cpp
blob: 3890a507555eac787fcac991414f79df108706b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "osqlerror.h"

OSQLError::OSQLError( const QString& driverText,
                      const QString& driverDatabaseText,
                      int type, int subType )
    : m_drvText( driverText ), m_drvDBText( driverDatabaseText ),
      m_type( type ), m_number( subType )
{
}
OSQLError::~OSQLError() {
}
QString OSQLError::driverText()const {
    return m_drvText;
}
QString OSQLError::databaseText()const {
    return m_drvDBText;
}
int OSQLError::type()const {
    return m_type;
}
int OSQLError::subNumber()const {
    return m_number;
}