| Home | Trees | Index | Help |
|
|---|
| Package MySQLdb :: Module connections |
|
| Classes | |
|---|---|
Connection |
MySQL Database Connection Object |
| Function Summary | |
|---|---|
If cursor is not None, (errorclass, errorvalue) is appended to cursor.messages; otherwise it is appended to connection.messages. | |
MySQLdb.cursors,
types,
_mysql
DatabaseError,
DataError,
Error,
IntegrityError,
InterfaceError,
InternalError,
NotSupportedError,
OperationalError,
ProgrammingError,
Warning
| Function Details |
|---|
defaulterrorhandler(connection, cursor, errorclass, errorvalue)If cursor is not None, (errorclass, errorvalue) is appended to cursor.messages; otherwise it is appended to connection.messages. Then errorclass is raised with errorvalue as the value. You can override this with your own error handler by assigning it to the instance. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Thu Jan 20 22:13:53 2005 | http://epydoc.sf.net |