Current File : //lib64/python3.9/site-packages/MySQLdb/__pycache__/_exceptions.cpython-39.pyc |
a
[�^t � @ s� d Z G dd� de�ZG dd� dee�ZG dd� de�ZG dd� de�ZG d d
� d
e�ZG dd� de�ZG d
d� de�ZG dd� de�Z G dd� de�Z
G dd� de�ZG dd� de�ZdS )z�Exception classes for _mysql and MySQLdb.
These classes are dictated by the DB API v2.0:
https://www.python.org/dev/peps/pep-0249/
c @ s e Zd ZdZdS )�
MySQLErrorz*Exception related to operation with MySQL.N��__name__�
__module__�__qualname__�__doc__� r r �9/usr/lib64/python3.9/site-packages/MySQLdb/_exceptions.pyr s r c @ s e Zd ZdZdS )�WarningzWException raised for important warnings like data truncations
while inserting, etc.Nr 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).Nr 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.Nr r r r r r s r c @ s e Zd ZdZdS )�
DatabaseErrorzAException raised for errors that are related to the
database.Nr r r r r r s r c @ s e Zd ZdZdS )� DataErrorz�Exception raised for errors that are due to problems with the
processed data like division by zero, numeric value out of range,
etc.Nr 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.Nr r r r r r '