File "_mysql_exceptions.cpython-37.opt-2.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python37/lib64/python3.7/site-packages/__pycache__/_mysql_exceptions.cpython-37.opt-2.pyc
File size: 3.52 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
B
hW @ s d Z yddlmZmZmZ W n ek
r4 eZY nX G dd deZG dd deeZG dd deZG d d
d
eZG dd deZ G d
d de Z
G dd de ZG dd de ZG dd de Z
G dd de ZG dd de ZdS )z_mysql_exceptions: Exception classes for _mysql and MySQLdb.
These classes are dictated by the DB API v2.0:
https://www.python.org/dev/peps/pep-0249/
) Exception
StandardErrorWarningc @ s e Zd ZdZdS )
MySQLErrorz*Exception related to operation with MySQL.N)__name__
__module____qualname____doc__ r
r
D/opt/alt/python37/lib64/python3.7/site-packages/_mysql_exceptions.pyr s r c @ s e Zd ZdZdS )r zWException raised for important warnings like data truncations
while inserting, etc.N)r r r r r
r
r
r r s r c @ s e Zd ZdZdS )ErrorzQException that is the base class of all other error exceptions
(not Warning).N)r r r r r
r
r
r r s r c @ s e Zd ZdZdS )InterfaceErrorzkException raised for errors that are related to the database
interface rather than the database itself.N)r r r r r
r
r
r r
s r
c @ s e Zd ZdZdS )
DatabaseErrorzAException raised for errors that are related to the
database.N)r r r r r
r
r
r r % s r c @ s e Zd ZdZdS ) DataErrorzException raised for errors that are due to problems with the
processed data like division by zero, numeric value out of range,
etc.N)r r r r r
r
r
r r + s r c @ s e Zd ZdZdS )OperationalErrora; Exception raised for errors that are related to the database's
operation and not necessarily under the control of the programmer,
e.g. an unexpected disconnect occurs, the data source name is not
found, a transaction could not be processed, a memory allocation
error occurred during processing, etc.N)r r r r r
r
r
r r 2 s r c @ s e Zd ZdZdS )IntegrityErrorzException raised when the relational integrity of the database
is affected, e.g. a foreign key check fails, duplicate key,
etc.N)r r r r r
r
r
r r ; s r c @ s e Zd ZdZdS )
InternalErrorzException raised when the database encounters an internal
error, e.g. the cursor is not valid anymore, the transaction is
out of sync, etc.N)r r r r r
r
r
r r B s r c @ s e Zd ZdZdS )ProgrammingErrorzException raised for programming errors, e.g. table not found
or already exists, syntax error in the SQL statement, wrong number
of parameters specified, etc.N)r r r r r
r
r
r r I s r c @ s e Zd ZdZdS )NotSupportedErrorzException raised in case a method or database API was used
which is not supported by the database, e.g. requesting a
.rollback() on a connection that does not support transaction or
has transactions turned off.N)r r r r r
r
r
r r P s r N)r
exceptionsr r r ImportErrorr r r
r r r r r r r r
r
r
r <module> s