a ÖâÏhà ã@sÀddlZddlmZmZejeddƒeddƒddZz ejZWneyVejZYn0dd 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)ÚdomainÚ localedirÚfallbackÚ ProgramErrorÚ get_strerroriècCs*t |d¡}|dur&ddl}| |¡}|S)Nr)ÚstrerrorÚgetÚos)ÚerrnoÚstrr ©rú:/usr/lib/python3.9/site-packages/setroubleshoot/errcode.pyr.s   cCs0t|}|tƒ|<|t|<t |¡|t|<dS)N)Ú ERROR_BASEÚglobalsÚerrcodeÚ__all__Úappendr )ZnumÚnamer r rrrÚerr6s   rc@seZdZddd„Zdd„ZdS)rNcCs>||_|durt|ƒ|_n||_|dur:|jd|7_dS)Nú )r rr )Úselfr r ZdetailrrrÚ__init__Ds  zProgramError.__init__cCsd|j|jfS)Nz [Errno %d] %s)r r )rrrrÚ__str__MszProgramError.__str__)NN)Ú__name__Ú __module__Ú __qualname__rrrrrrrBs é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.configrrÚ translationZugettextÚ_ÚAttributeErrorrrr rrrÚ ExceptionrrrrrÚsJ þ   þ