§ WèÄjÆãó–—dZddlZddlZddlZddlZddlmZddlmZ ej d¦«Z Gd„de ¦«Z Gd„d e ¦«ZGd „d e¦«ZGd „d e¦«ZGd„de¦«ZGd„de ¦«ZGd„de¦«ZGd„de ¦«ZGd„de ¦«ZGd„de¦«ZGd„de ¦«ZdS)z/ This module contains custom exception classes éN)ÚOptional)ÚgettextÚ exc_loggerc ó`‡—eZdZdZdddddœdedededed eed df ˆfd „Zd efd „Z ˆxZ S) Ú XRayErrorz® X-Ray internal exception class. Adds an 'error' status and stores information about occurred exception. Provides JSON encoded info about occurred exception. ÚerrorN)ÚflagÚextraÚerrnoÚcontextÚmessager r r r Úreturncóž•—t¦« |¦«d|_||_||_||_||_||_dS)Nr)ÚsuperÚ__init__ÚstatusÚreasonÚ extra_dataÚ type_flagr r )Úselfr r r r r Ú __class__s €úO/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/internal/exceptions.pyrzXRayError.__init__sKø€õ ‰Œ×Ò˜Ñ!Ô!Ð!؈Œ ؈Œ ؈ŒØˆŒØˆŒ ؈Œ ˆ ˆ ócóŠ—|jdkr d|jdœ}n d|ji}|j� |j|d<tj|¦«S)NÚwarningÚsuccess)Úresultrrr )rrr ÚjsonÚdumps)rÚmsgs rÚ__str__zXRayError.__str__'sX€Ø Œ>˜YÒ &Ð &à#Øœ;ððˆCˆCð ˜$œ+ðˆCð Œ<Ð #Ø!œ\ˆC� ‰NÝŒz˜#‰ŒÐr) Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚstrÚdictÚintrrr!Ú __classcell__©rs@rrrs«ø€€€€€ððð 5<Ø#°$Ø+/ð ð ð  ð ¨cð Øð Ø,/ð à" 4œ.ð à48ð ð ð ð ð ð ð ˜ð ð ð ð ð ð ð ð rrcó—eZdZdZdS)ÚXRayManagerErrorz( X-Ray Manager exception class. N©r"r#r$r%©rrr,r,6ó€€€€€ððððrr,có$‡—eZdZdZdˆfd„ ZˆxZS)ÚXRayManagerExitz— Raised when we want to exit the X-Ray Manager with given exitcode and message. This error and it's subclasses are not sent to sentry. éc óL•—||_t¦«jdd|i|¤ŽdS)Nr r.)Úexitcoderr)rr r4Úkwargsrs €rrzXRayManagerExit.__init__Cs2ø€Ø ˆŒ Ø�‰ŒÔÐ3Ð3 Ð3¨FÐ3Ð3Ð3Ð3Ð3r)r2)r"r#r$r%rr)r*s@rr1r1<sGø€€€€€ððð 4ð4ð4ð4ð4ð4ð4ð4ð4ð4rr1có,‡—eZdZdZdedefˆfd„ ZˆxZS)ÚXRayManagerExitPHPUnsupportedzG Raised when given php version is not supported by x-ray tool. ÚurlÚ php_versionc󢕗||_||_t¦« t d¦«t ||¬¦«¬¦«dS)NzH%(url)s is served by %(real_php_version)s, which is unsupported by X-Ray)r8Úreal_php_version©r r )r8r9rrÚ_r')rr8r9rs €rrz&XRayManagerExitPHPUnsupported.__init__Lsdø€ØˆŒØ&ˆÔå ‰Œ×ÒÝð4ñ5ô5å˜S°;Ð?Ñ?Ô?ð ñ Aô Að Að Að Ar©r"r#r$r%r&rr)r*s@rr7r7Hsaø€€€€€ðððA˜CðA¨cðAðAðAðAðAðAðAðAðAðArr7có(‡—eZdZdZdefˆfd„ ZˆxZS)ÚTaskNotFoundErrorz. X-Ray API reports about missing task Útask_idcó’•—||_t¦« td¦«t |¬¦«¬¦«dS)Nz.Task with id %(task_id)s not found in database)rAr<)rArrr=r')rrArs €rrzTaskNotFoundError.__init__[sVø€ØˆŒ Ý ‰Œ×ÒÝÐFÑGÔGÝØðñôð ñ ô ð ð ð rr>r*s@rr@r@VsNø€€€€€ððð ððððððððððrr@có—eZdZdZdS)Ú XRayAPIErrorz, X-Ray API exception special class. Nr-r.rrrDrDdr/rrDcó:‡—eZdZdZddedeefˆfd„ ZˆxZS)ÚXRayAPIEmptyResponsez1 Happens when API returns empty response Nrr c 󨕗||_t¦«jd|ptd¦«t |¦«zt |¬¦«dœ|¤ŽdS)NzReceived empty result: %s)r)r r r.)rrrr=r&r')rrr r5rs €rrzXRayAPIEmptyResponse.__init__osmø€ØˆŒ Ø�‰ŒÔð ØÐK�qÐ!<Ñ=Ô=ÅÀFÁ Ä ÑKݘfÐ%Ñ%Ô%ð ð ðð ð ð ð ð r)N) r"r#r$r%r'rr&rr)r*s@rrFrFjs^ø€€€€€ððð ð ˜tð ¨h°s¬mð ð ð ð ð ð ð ð ð ð rrFcó—eZdZdZdS)ÚXRayAgentErrorz% X-Ray Agent exception class Nr-r.rrrIrIxr/rrIcó—eZdZdZdS)ÚXRayMailerErrorz& X-Ray Mailer exception class Nr-r.rrrKrK~r/rrKcó>‡—eZdZdZed¦«fdefˆfd„ ZˆxZS)ÚXRayMissingDomainz( Missing domain exception class z6Domain '%(domain_name)s' does not exist on this serverÚ domain_namecóz•—||_t¦« |dt|¬¦«¬¦«dS)Nr2)rN)r r4r )rNrrr')rrNr rs €rrzXRayMissingDomain.__init__‰sJø€Ø&ˆÔÝ ‰Œ×ÒØØÝ [Ð1Ñ1Ô1ð ñ ô ð ð ð r)r"r#r$r%r=r&rr)r*s@rrMrM„scø€€€€€ððð23°Ð3kÑ1lÔ1lð ð  Cð ð ð ð ð ð ð ð ð ð rrMcó—eZdZdZdS)ÚSmartAdvicePluginErrorzD Error when something bad happened with Smart Advice plugin Nr-r.rrrQrQ’r/rrQ)r%rÚloggingÚosÚsysÚtypingrÚxrayrr=Ú getLoggerÚloggerÚ Exceptionrr,r1r7r@rDrFrIrKrMrQr.rrúrZsMðððð € € € Ø€€€Ø € € € Ø € € € ØÐÐÐÐÐØÐÐÐÐÐà ˆÔ ˜<Ñ (Ô (€ððððð� ñôððBðððð�yñôðð 4ð 4ð 4ð 4ð 4Ð&ñ 4ô 4ð 4ð Að Að Að Að A Oñ Aô Að Að ð ð ð ð ˜ñ ô ð ððððð�9ñôðð  ð  ð  ð  ð  ˜<ñ  ô  ð  ððððð�Yñôðð ðððð�iñôðð  ð  ð  ð  ð  ˜ñ  ô  ð  ððððð˜Yñôðððr