3 Úh>`à ã @sÂddlZddlmZmZejeddƒeddƒddZy ejZWnek rXejZYnXdd gZia ia d Z d d „Z d d „Z Gdd„deƒZe ddedƒƒe ddedƒƒe ddedƒƒe ddedƒƒe ddedƒƒe dded ƒƒe d!d"ed#ƒƒe d$d%ed&ƒƒe d'd(ed)ƒƒe d*d+ed,ƒƒe d-d.ed/ƒƒe d0d1ed2ƒƒe d3d4ed5ƒƒe d6d7ed8ƒƒe d9d:ed;ƒƒe dƒƒe d?d@edAƒƒe dBdCedDƒƒe dEdFedGƒƒdS)HéN)Úparse_config_settingÚ get_configZgeneralZi18n_text_domainZi18n_locale_dirT)ZdomainZ localedirZfallbackÚ ProgramErrorÚ get_strerroriècCs*tj|dƒ}|dkr&ddl}|j|ƒ}|S)Nr)ÚstrerrorÚgetÚos)ÚerrnoÚstrr©r ú/usr/lib/python3.6/errcode.pyr.s   cCs0t|}|tƒ|<|t|<tj|ƒ|t|<dS)N)Ú ERROR_BASEÚglobalsÚerrcodeÚ__all__Úappendr)ZnumÚnamer r r r r Úerr6s   rc@seZdZddd„Zdd„ZdS)rNcCs>||_|dkrt|ƒ|_n||_|dk r:|jd|7_dS)Nú )r rr)Úselfr rZdetailr r r Ú__init__Ds  zProgramError.__init__cCsd|j|jfS)Nz [Errno %d] %s)r r)rr r r Ú__str__MszProgramError.__str__)NN)Ú__name__Ú __module__Ú __qualname__rrr r r r rBs éZERR_NO_SIGNATURE_MATCHzsignature not foundéZERR_MULTIPLE_SIGNATURE_MATCHzmultiple signatures matchedéZERR_SIGNATURE_ID_NOT_FOUNDz id not foundéZERR_DATABASE_NOT_FOUNDzdatabase not foundéZERR_NOT_MEMBERzitem is not a memberéZERR_ILLEGAL_USER_CHANGEzillegal to change useréZERR_METHOD_NOT_FOUNDzmethod not foundéZERR_CANNOT_CREATE_GUIzcannot create GUIé ZERR_UNKNOWN_VALUEz value unknowné Z ERR_FILE_OPENzcannot open fileé ZERR_INVALID_EMAIL_ADDRzinvalid email addressé ZERR_SOCKET_ERRORz socket erroré ZERR_SOCKET_HUPzconnection has been brokenéZERR_IO_INVALIDz0Invalid request. The file descriptor is not openéZERR_USER_PERMISSIONz&insufficient permission to modify useréZERR_AUTHENTICATION_FAILEDzauthentication failedéZERR_USER_PROHIBITEDzuser prohibitedéZERR_NOT_AUTHENTICATEDznot authenticatedéZERR_USER_LOOKUPzuser lookup failed)ÚgettextZsetroubleshoot.configrrZ translationZugettextÚ_ÚAttributeErrorrrrr rrÚ Exceptionrr r r r ÚsF