Your IP : 18.219.202.234
�
��bg����ddlZddlmZGd�de��ZGd�dee��ZGd�d e��ZGd
�de��ZGd�d
e��ZGd�de��Z Gd�de��Z
Gd�de��ZGd�de��ZGd�de��Z
Gd�de��ZiZd�Zee
ejejejejejejejejejejejejej��ee ejejejej ej!ej"ej#ej$ej%�
�
eeej&ej'ej(ej)ej*ej+ej,��eeej-ej.ej/ej0��ee
ej1ej2ej3ej4ej5ej6ej7��[[d�Z8dS)�N�)�ERc��eZdZdZdS)�
MySQLErrorz*Exception related to operation with MySQL.N��__name__�
__module__�__qualname__�__doc__���B/opt/cloudlinux/venv/lib64/python3.11/site-packages/pymysql/err.pyrrs������4�4�4�4r
rc��eZdZdZdS)�WarningzWException raised for important warnings like data truncations
while inserting, etc.Nrrr
rrr
s���������r
rc��eZdZdZdS)�ErrorzQException that is the base class of all other error exceptions
(not Warning).Nrrr
rrrs���������r
rc��eZdZdZdS)�InterfaceErrorzkException raised for errors that are related to the database
interface rather than the database itself.Nrrr
rrrs������2�2�2�2r
rc��eZdZdZdS)�
DatabaseErrorzAException raised for errors that are related to the
database.Nrrr
rrrs���������r
rc��eZdZdZdS)� DataErrorz�Exception raised for errors that are due to problems with the
processed data like division by zero, numeric value out of range,
etc.Nrrr
rrr����������r
rc��eZdZdZdS)�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.Nrrr
rrr$s������.�.�.�.r
rc��eZdZdZdS)�IntegrityErrorz�Exception raised when the relational integrity of the database
is affected, e.g. a foreign key check fails, duplicate key,
etc.Nrrr
rrr,rr
rc��eZdZdZdS)�
InternalErrorz�Exception raised when the database encounters an internal
error, e.g. the cursor is not valid anymore, the transaction is
out of sync, etc.Nrrr
rrr2s���������r
rc��eZdZdZdS)�ProgrammingErrorz�Exception raised for programming errors, e.g. table not found
or already exists, syntax error in the SQL statement, wrong number
of parameters specified, etc.Nrrr
rr!r!8s������%�%�%�%r
r!c��eZdZdZdS)�NotSupportedErrorz�Exception 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.Nrrr
rr#r#>s������$�$�$�$r
r#c�$�|D]}|t|<�
dS)N)� error_map)�exc�errors�errors r�
_map_errorr)Hs(������� �%����r
c��tjd|dd���d}|dd��dd��}t�|��}|�|dkrt
nt}|||���) Nz<hr�r� zutf-8�replacei�)�struct�unpack�decoder%�getrr)�data�errno�errval�
errorclasss r�raise_mysql_exceptionr6�sv���M�$��Q�q�S� �*�*�1�-�E�
�!�"�"�X�_�_�W�i�
0�
0�F����u�%�%�J���&+�d�l�l�]�]�8H�
�
�*�U�F�
#�
#�#r
)9r.� constantsr� Exceptionrrrrrrrrrr!r#r%r)�DB_CREATE_EXISTS�SYNTAX_ERROR�PARSE_ERROR�
NO_SUCH_TABLE�
WRONG_DB_NAME�WRONG_TABLE_NAME�FIELD_SPECIFIED_TWICE�INVALID_GROUP_FUNC_USE�UNSUPPORTED_EXTENSION�TABLE_MUST_HAVE_COLUMNS�"CANT_DO_THIS_DURING_AN_TRANSACTION�WRONG_COLUMN_NAME�WARN_DATA_TRUNCATED�WARN_NULL_TO_NOTNULL�WARN_DATA_OUT_OF_RANGE�
NO_DEFAULT�PRIMARY_CANT_HAVE_NULL�
DATA_TOO_LONG�DATETIME_FUNCTION_OVERFLOW�TRUNCATED_WRONG_VALUE_FOR_FIELD�ILLEGAL_VALUE_FOR_TYPE� DUP_ENTRY�NO_REFERENCED_ROW�NO_REFERENCED_ROW_2�ROW_IS_REFERENCED�ROW_IS_REFERENCED_2�CANNOT_ADD_FOREIGN�BAD_NULL_ERROR�WARNING_NOT_COMPLETE_ROLLBACK�NOT_SUPPORTED_YET�FEATURE_DISABLED�UNKNOWN_STORAGE_ENGINE�DBACCESS_DENIED_ERROR�ACCESS_DENIED_ERROR�CON_COUNT_ERROR�TABLEACCESS_DENIED_ERROR�COLUMNACCESS_DENIED_ERROR�CONSTRAINT_FAILED�
LOCK_DEADLOCKr6rr
r�<module>r`s���
�
�
�
�������5�5�5�5�5��5�5�5������g�z����
�����J����
2�2�2�2�2�U�2�2�2�
�����E����
�����
����.�.�.�.�.�}�.�.�.������]���������M����%�%�%�%�%�}�%�%�%�$�$�$�$�$�
�$�$�$�
� ����
�
�����O��N����������������)�������� �
�
��������M������!��&�������
���L������������� � � ��
���$�����������
����������� ����� � � ���$�$�$�$�$r
?>