Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/pymysql/__pycache__/err.cpython-311.pyc



]jRddlZddlmZGddeZGddeeZGdd	eZGd
deZGdd
eZGddeZ	GddeZ
GddeZGddeZGddeZ
GddeZiZdZee
ejejejejejejejejejejejejejee	ejejejej ej!ej"ej#ej$ej%

eeej&ej'ej(ej)ej*ej+ej,eeej-ej.ej/ej0ee
ej1ej2ej3ej4ej5ej6ej7[[dZ8dS)N)ERceZdZdZdS)
MySQLErrorz*Exception related to operation with MySQL.N__name__
__module____qualname____doc__B/opt/imunify360/venv/lib64/python3.11/site-packages/pymysql/err.pyrrs4444r
rceZdZdZdS)WarningzWException raised for important warnings like data truncations
    while inserting, etc.Nrrr
rrr
sr
rceZdZdZdS)ErrorzQException that is the base class of all other error exceptions
    (not Warning).Nrrr
rrrsr
rceZdZdZdS)InterfaceErrorzkException raised for errors that are related to the database
    interface rather than the database itself.Nrrr
rrrs2222r
rceZdZdZdS)
DatabaseErrorzAException raised for errors that are related to the
    database.Nrrr
rrrsr
rceZdZdZdS)	DataErrorzException 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
rceZdZdZdS)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
rceZdZdZdS)IntegrityErrorzException raised when the relational integrity of the database
    is affected, e.g. a foreign key check fails, duplicate key,
    etc.Nrrr
rrr,rr
rceZdZdZdS)
InternalErrorzException 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
rrr2sr
rceZdZdZdS)ProgrammingErrorzException 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!ceZdZdZdS)NotSupportedErrorzException 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)excerrorserrors   r
_map_errorr)Hs(	%r
cRtjd|ddd}|ddkr|dddd}n|dddd}t|}||d	krt
nt}|||)
Nz<hrr#	zutf-8replacei)structunpackdecoder%getrr)dataerrnoerrval
errorclasss    rraise_mysql_exceptionr7sM$QqS	**1-EAw$abb)44abb)44u%%J&+dll]]8H

*UF
#
##r
)9r/	constantsr	Exceptionrrrrrrrrrr!r#r%r)DB_CREATE_EXISTSSYNTAX_ERRORPARSE_ERROR
NO_SUCH_TABLE
WRONG_DB_NAMEWRONG_TABLE_NAMEFIELD_SPECIFIED_TWICEINVALID_GROUP_FUNC_USEUNSUPPORTED_EXTENSIONTABLE_MUST_HAVE_COLUMNS"CANT_DO_THIS_DURING_AN_TRANSACTIONWRONG_COLUMN_NAMEWARN_DATA_TRUNCATEDWARN_NULL_TO_NOTNULLWARN_DATA_OUT_OF_RANGE
NO_DEFAULTPRIMARY_CANT_HAVE_NULL
DATA_TOO_LONGDATETIME_FUNCTION_OVERFLOWTRUNCATED_WRONG_VALUE_FOR_FIELDILLEGAL_VALUE_FOR_TYPE	DUP_ENTRYNO_REFERENCED_ROWNO_REFERENCED_ROW_2ROW_IS_REFERENCEDROW_IS_REFERENCED_2CANNOT_ADD_FOREIGNBAD_NULL_ERRORWARNING_NOT_COMPLETE_ROLLBACKNOT_SUPPORTED_YETFEATURE_DISABLEDUNKNOWN_STORAGE_ENGINEDBACCESS_DENIED_ERRORACCESS_DENIED_ERRORCON_COUNT_ERRORTABLEACCESS_DENIED_ERRORCOLUMNACCESS_DENIED_ERRORCONSTRAINT_FAILED
LOCK_DEADLOCKr7rr
r<module>ras



55555555gz
J
22222U222
E

.....}...]M%%%%%}%%%$$$$$
$$$
	

ON) 

M!&
L			
$
 			
$
$
$
$
$r
Back to Directory File Manager