← Back
Editing: _exceptions.cpython-311.pyc
� N�=\� � �L � d Z ddlmZ G d� de� � Z G d� dee� � Z G d� de� � Z G d � d e� � Z G d� de� � Z G d � de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z dS )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/ � )� StandardErrorc � � e Zd ZdZdS )� MySQLErrorz*Exception related to operation with MySQL.N��__name__� __module__�__qualname__�__doc__� � �5/usr/lib/python3/dist-packages/MySQLdb/_exceptions.pyr r s � � � � � �4�4�4�4r r c � � e Zd ZdZdS )�WarningzWException raised for important warnings like data truncations while inserting, etc.Nr r r r r r s � � � � � �� � � r r c � � e Zd ZdZdS )�ErrorzQException that is the base class of all other error exceptions (not Warning).Nr r r r r r s � � � � � �� � � r r c � � 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 � � � � � �2� 2� 2� 2r r c � � e Zd ZdZdS )� DatabaseErrorzAException raised for errors that are related to the database.Nr r r r r r s � � � � � �� � � r r c � � 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 "