NAME

Qt::Sql::QSqlError

PUBLIC METHODS

QSqlError(const QSqlError & other)
QSqlError(const QString & driverText, const QString & databaseText, QSqlError::ErrorType type, int number)
QSqlError(const QString & driverText, const QString & databaseText, QSqlError::ErrorType type, int number = -1)
QSqlError(const QString & driverText, const QString & databaseText, QSqlError::ErrorType type = QSqlError::NoError, int number = -1)
QSqlError(const QString & driverText, const QString & databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, int number = -1)
QSqlError(const QString & driverText = QString(), const QString & databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, int number = -1)
~QSqlError()
QString databaseText()
QString driverText()
bool isValid()
int number()
QSqlError & operator=(const QSqlError & other)
void setDatabaseText(const QString & databaseText)
void setDriverText(const QString & driverText)
void setNumber(int number)
void setType(QSqlError::ErrorType type)
QString text()
QSqlError::ErrorType type()

ENUM VALUES

NoError
ConnectionError
StatementError
TransactionError
UnknownError

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html