Ë
    4oxiR  ã                   óà  — d dl Z ddlmZ  G d„ de«      Z G d„ dee«      Z G d„ d	e«      Z G d
„ de«      Z G d„ de«      Z G d„ de«      Z	 G d„ de«      Z
 G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zi Zd„ Z eeej"                  ej$                  ej&                  ej(                  ej*                  ej,                  ej.                  ej0                  ej2                  ej4                  ej6                  ej*                  ej8                  «        ee	ej:                  ej<                  ej>                  ej@                  ejB                  ejD                  ejF                  ejH                  ejJ                  «
        eeejL                  ejN                  ejP                  ejR                  ejT                  ejV                  ejX                  «        eeejZ                  ej\                  ej^                  ej`                  «        ee
ejb                  ejd                  ejf                  ejh                  ejj                  ejl                  ejn                  «       [[d„ Z8y)é    Né   )ÚERc                   ó   — e Zd ZdZy)Ú
MySQLErrorz*Exception related to operation with MySQL.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úB/home/htdocs/ttos/venv/lib/python3.12/site-packages/pymysql/err.pyr   r      s   „ Ú4r   r   c                   ó   — e Zd ZdZy)ÚWarningzWException raised for important warnings like data truncations
    while inserting, etc.Nr   r   r   r   r   r   
   s   „ òr   r   c                   ó   — e Zd ZdZy)ÚErrorzQException that is the base class of all other error exceptions
    (not Warning).Nr   r   r   r   r   r      s   „ òr   r   c                   ó   — e Zd ZdZy)ÚInterfaceErrorzkException raised for errors that are related to the database
    interface rather than the database itself.Nr   r   r   r   r   r      s   „ ò2r   r   c                   ó   — e Zd ZdZy)ÚDatabaseErrorzAException raised for errors that are related to the
    database.Nr   r   r   r   r   r      s   „ òr   r   c                   ó   — e Zd ZdZy)Ú	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      ó   „ òr   r   c                   ó   — e Zd ZdZy)Ú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   $   s   „ ò.r   r   c                   ó   — e Zd ZdZy)ÚIntegrityErrorz‡Exception raised when the relational integrity of the database
    is affected, e.g. a foreign key check fails, duplicate key,
    etc.Nr   r   r   r   r   r   ,   r   r   r   c                   ó   — e Zd ZdZy)Ú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.Nr   r   r   r   r   r   2   s   „ òr   r   c                   ó   — e Zd ZdZy)Ú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.Nr   r   r   r   r!   r!   8   s   „ ò%r   r!   c                   ó   — e Zd ZdZy)Ú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.Nr   r   r   r   r#   r#   >   s   „ ò$r   r#   c                 ó$   — |D ]  }| t         |<   Œ y )N)Ú	error_map)ÚexcÚerrorsÚerrors      r   Ú
_map_errorr)   H   s   € Øò ˆØŒ	�%Òñr   c                 ó  — t        j                  d| dd «      d   }| d   dk(  r| dd  j                  dd«      }n| dd  j                  dd«      }t        j	                  |«      }|€|d	k  rt
        nt        } |||«      ‚)
Nz<hr   é   r   é#   é	   zutf-8Úreplaceiè  )ÚstructÚunpackÚdecoder%   Úgetr   r   )ÚdataÚerrnoÚerrvalÚ
errorclasss       r   Úraise_mysql_exceptionr7   ‰   s‡   € Ü�M‰M˜$  Q q 	Ó*¨1Ñ-€Eð ˆA�w�$‚ð �a�b�—‘ ¨)Ó4‰à�a�b�—‘ ¨)Ó4ˆÜ—‘˜uÓ%€JØÐØ&+¨d¢l•]Ô8Hˆ
Ù
�U˜FÓ
#Ð#r   )9r/   Ú	constantsr   Ú	Exceptionr   r   r   r   r   r   r   r   r   r!   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_DEADLOCKr7   r   r   r   ú<module>ra      sJ  ðÛ å ô5�ô 5ôˆg�zô ô
ˆJô ô
2�Uô 2ô
�Eô ô
�ô ô.�}ô .ô�]ô ô�Mô ô%�}ô %ô$˜ô $ð €	òñ
 ØØ×ÑØ‡O�OØ‡N�NØ×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ×)Ñ)Ø×ÑØ×Ñôñ  ØØ×ÑØ×ÑØ×ÑØ‡M�MØ×ÑØ×ÑØ×!Ñ!Ø×&Ñ&Ø×Ñôñ ØØ‡L�LØ×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ×Ñô	ñ ØØ×$Ñ$Ø×ÑØ×ÑØ×Ñôñ ØØ×ÑØ×ÑØ×ÑØ×ÑØ× Ñ Ø×ÑØ×Ñô	ð �ó$r   