summaryrefslogtreecommitdiff
path: root/libsql/osqlerror.cpp
Side-by-side diff
Diffstat (limited to 'libsql/osqlerror.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libsql/osqlerror.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/libsql/osqlerror.cpp b/libsql/osqlerror.cpp
new file mode 100644
index 0000000..3890a50
--- a/dev/null
+++ b/libsql/osqlerror.cpp
@@ -0,0 +1,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;
+}