55ok

Mini

Direktori : /proc/thread-self/root/lib/python2.7/site-packages/pymysql/
Upload File :
Current File : //proc/thread-self/root/lib/python2.7/site-packages/pymysql/err.pyo

�
�-:Zc
@s7ddlZddlmZdefd��YZdeefd��YZdefd	��YZd
efd��YZdefd
��YZdefd��YZ	defd��YZ
defd��YZdefd��YZdefd��YZ
defd��YZiZd�Zee
ejejejejejejejejejejej�ee	ejejejejej ej!ej"�eeej#ej$ej%ej&ej'ej(ej)�eeej*ej+ej,ej-�ee
ej.ej/ej0ej1ej2ej3�[[d�Z4dS(i����Ni(tERt
MySQLErrorcBseZdZRS(s*Exception related to operation with MySQL.(t__name__t
__module__t__doc__(((s//usr/lib/python2.7/site-packages/pymysql/err.pyRstWarningcBseZdZRS(sWException raised for important warnings like data truncations
    while inserting, etc.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR
stErrorcBseZdZRS(sQException that is the base class of all other error exceptions
    (not Warning).(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyRstInterfaceErrorcBseZdZRS(skException raised for errors that are related to the database
    interface rather than the database itself.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyRst
DatabaseErrorcBseZdZRS(sAException raised for errors that are related to the
    database.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyRst	DataErrorcBseZdZRS(s�Exception raised for errors that are due to problems with the
    processed data like division by zero, numeric value out of range,
    etc.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR	stOperationalErrorcBseZdZRS(s;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.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR
$stIntegrityErrorcBseZdZRS(s�Exception raised when the relational integrity of the database
    is affected, e.g. a foreign key check fails, duplicate key,
    etc.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR,st
InternalErrorcBseZdZRS(s�Exception raised when the database encounters an internal
    error, e.g. the cursor is not valid anymore, the transaction is
    out of sync, etc.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR2stProgrammingErrorcBseZdZRS(s�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.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR
8stNotSupportedErrorcBseZdZRS(s�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.(RRR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyR>scGsx|D]}|t|<qWdS(N(t	error_map(texcterrorsterror((s//usr/lib/python2.7/site-packages/pymysql/err.pyt
_map_errorHs
cCs�tjd|dd!�d}|dd!dk}|rO|djdd	�}n|djdd	�}tj|t�}|||��dS(
Ns<hiiiit#i	sutf-8treplace(tstructtunpacktdecodeRtgetR(tdataterrnotis_41terrvalt
errorclass((s//usr/lib/python2.7/site-packages/pymysql/err.pytraise_mysql_exceptionbs(5Rt	constantsRt	ExceptionRRRRRR	R
RRR
RRRtDB_CREATE_EXISTStSYNTAX_ERRORtPARSE_ERRORt
NO_SUCH_TABLEt
WRONG_DB_NAMEtWRONG_TABLE_NAMEtFIELD_SPECIFIED_TWICEtINVALID_GROUP_FUNC_USEtUNSUPPORTED_EXTENSIONtTABLE_MUST_HAVE_COLUMNSt"CANT_DO_THIS_DURING_AN_TRANSACTIONtWARN_DATA_TRUNCATEDtWARN_NULL_TO_NOTNULLtWARN_DATA_OUT_OF_RANGEt
NO_DEFAULTtPRIMARY_CANT_HAVE_NULLt
DATA_TOO_LONGtDATETIME_FUNCTION_OVERFLOWt	DUP_ENTRYtNO_REFERENCED_ROWtNO_REFERENCED_ROW_2tROW_IS_REFERENCEDtROW_IS_REFERENCED_2tCANNOT_ADD_FOREIGNtBAD_NULL_ERRORtWARNING_NOT_COMPLETE_ROLLBACKtNOT_SUPPORTED_YETtFEATURE_DISABLEDtUNKNOWN_STORAGE_ENGINEtDBACCESS_DENIED_ERRORtACCESS_DENIED_ERRORtCON_COUNT_ERRORtTABLEACCESS_DENIED_ERRORtCOLUMNACCESS_DENIED_ERRORtCONSTRAINT_FAILEDR(((s//usr/lib/python2.7/site-packages/pymysql/err.pyt<module>s@	

Zerion Mini 1.0