AlkantarClanX12

Your IP : 3.147.68.39


Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pymysql/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pymysql/__pycache__/err.cpython-311.pyc

�

�܋f����ddlZddlmZGd�de��ZGd�dee��ZGd�d	e��ZGd
�de��ZGd�d
e��ZGd�de��Z	Gd�de��Z
Gd�de��ZGd�de��ZGd�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.Nrrr
rrr
s���������r
rc��eZdZdZdS)�ErrorzQException that is the base class of all other error exceptions
    (not Warning).Nrrr
rrrs���������r
rc��eZdZdZdS)�InterfaceErrorzkException raised for errors that are related to the database
    interface rather than the database itself.Nrrr
rrrs������2�2�2�2r
rc��eZdZdZdS)�
DatabaseErrorzAException raised for errors that are related to the
    database.Nrrr
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.Nrrr
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.Nrrr
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.Nrrr
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.Nrrr
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.Nrrr
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.Nrrr
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_DEADLOCKr6rr
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