Package web2py :: Package gluon :: Package contrib :: Package pymysql :: Module err :: Class IntegrityError

[hide private]
[frames] | no frames]

# Class IntegrityError

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                          MySQLError --+
                                       |
                                   Error --+
                                           |
                               DatabaseError --+
                                               |
                                              IntegrityError

Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails, duplicate key, etc.

Instance Methods | [hide private]

Inherited from `exceptions.Exception`: `__init__`, `__new__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__str__` Inherited from `object`: `__hash__`, `__reduce_ex__`

Properties | [hide private]

Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`