ó
    ð›‘hÍ(  ã                   óÖ  • S SK Jr  S SKJr  Sr\ " S S\5      5       r\ " S S\5      5       r\ " S S	\5      5       r\ " S
 S\5      5       r	\ " S S\5      5       r
\ " S S\5      5       r\ " S S\5      5       r\" \R                  5       " S S\5      5       r\" \R                   5       " S S\5      5       r\" \R$                  5       " S S\5      5       r " S S\5      rg)é    )Úpublic)Úerror)ÚErrorÚSessionNotReadyÚSerializationErrorÚInvalidUriErrorÚProtocolErrorÚTransportLostÚApplicationErrorÚNotAuthorizedÚ
InvalidUriÚInvalidPayloadÚTypeCheckErrorc                   ó   • \ rS rSrSrSrg)r   é.   z0
Base class for all exceptions related to WAMP.
© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    Ú[C:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\autobahn/wamp/exception.pyr   r   .   ó   † ôr   r   c                   ó   • \ rS rSrSrSrg)r   é5   zd
The application tried to perform a WAMP interaction, but the
session is not yet fully established.
r   Nr   r   r   r   r   r   5   ó   † ôr   r   c                   ó   • \ rS rSrSrSrg)r   é=   z�
Exception raised when the WAMP serializer could not serialize the
application payload (``args`` or ``kwargs`` for ``CALL``, ``PUBLISH``, etc).
r   Nr   r   r   r   r   r   =   r   r   r   c                   ó   • \ rS rSrSrSrg)r   éE   z5
Exception raised when an invalid WAMP URI was used.
r   Nr   r   r   r   r   r   E   r   r   r   c                   ó   • \ rS rSrSrSrg)r	   éL   z·
Exception raised when WAMP protocol was violated. Protocol errors
are fatal and are handled by the WAMP implementation. They are
not supposed to be handled at the application level.
r   Nr   r   r   r   r	   r	   L   s   † ôr   r	   c                   ó   • \ rS rSrSrSrg)r
   éU   z_
Exception raised when the transport underlying the WAMP session
was lost or is not connected.
r   Nr   r   r   r   r
   r
   U   r   r   r
   c                   óÜ   • \ rS rSrSrSr Sr Sr Sr Sr	 Sr
 S	r S
r Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr S r \!S 5       r"S  r#S! r$S"r%g#)$r   é]   zQ
Base class for all exceptions that can/may be handled
at the application level.
zwamp.error.invalid_urizwamp.error.invalid_payloadz wamp.error.payload_size_exceededzwamp.error.no_such_procedurez#wamp.error.procedure_already_existsz<wamp.error.procedure_exists_with_different_invocation_policyzwamp.error.no_such_registrationzwamp.error.no_such_subscriptionzwamp.error.no_such_sessionzwamp.error.invalid_argumentzwamp.error.system_shutdownzwamp.error.close_realmzwamp.error.goodbye_and_outzwamp.error.not_authorizedzwamp.error.authorization_failedz wamp.error.authentication_failedzwamp.error.no_auth_methodzwamp.error.no_such_realmzwamp.error.no_such_rolezwamp.error.no_such_principalzwamp.error.canceledzwamp.error.timeoutzwamp.error.no_eligible_calleezwamp.error.no_payload_codecz*wamp.error.encryption.trusted_uri_mismatchz#wamp.error.encryption.decrypt_errorzwamp.error.type_check_errorc                 ó0  • [         R                  " U /UQ76   X0l        Xl        UR	                  SS5      U l        UR	                  SS5      U l        UR	                  SS5      U l        UR	                  SS5      U l        UR	                  SS5      U l	        g)zi

:param error: The URI of the error that occurred, e.g. ``wamp.error.not_authorized``.
:type error: str
Úenc_algoNÚcalleeÚcallee_authidÚcallee_authroleÚforward_for)
Ú	ExceptionÚ__init__Úkwargsr   Úpopr+   r,   r-   r.   r/   )Úselfr   Úargsr2   s       r   r1   ÚApplicationError.__init__  s   € ô 	×Ò˜4Ð' $Ó'ØŒØŒ
ØŸ
™
 :¨tÓ4ˆŒØ—j‘j ¨4Ó0ˆŒØ#ŸZ™Z¨¸Ó>ˆÔØ%Ÿz™zÐ*;¸TÓBˆÔØ!Ÿ:™: m°TÓ:ˆÕr   c                 óª   • SR                  U R                  SR                  U R                   Vs/ s H  n[	        U5      PM     sn5      5      $ s  snf )zT
Get the error message of this exception.

:returns: The error message.
:rtype: str
z{0}: {1}Ú )Úformatr   Újoinr5   Ústr)r4   Úas     r   Úerror_messageÚApplicationError.error_message  sD   € ð × Ñ Ø�J‰JØ�H‰H d§i¢iÓ0¢i ”c˜!–f¡iÑ0Ó1ó
ð 	
ùâ0s   °Ac                 óŽ  • U R                   (       aA  SU R                   ;   a1  SU R                   R                  S5      -   S-   nSU R                   S'   OSnSR                  U R                  [	        U R
                  5      U R                   U R                  U R                  U R                  U R                  U R                  U5	      $ )NÚ	tracebackz:
Ú
z...Ú z‰ApplicationError(error=<{0}>, args={1}, kwargs={2}, enc_algo={3}, callee={4}, callee_authid={5}, callee_authrole={6}, forward_for={7}){8})r2   r3   r9   r   Úlistr5   r+   r,   r-   r.   r/   )r4   Útbs     r   Ú__unicode__ÚApplicationError.__unicode__  s²   € Ø�;�;˜;¨$¯+©+Ó5Ø˜Ÿ™Ÿ™¨Ó5Ñ5¸Ñ<ˆBØ',ˆD�K‰K˜Ò$àˆBð [÷  bñ  bØ�J‰Jœ˜TŸY™Y›¨¯©°d·m±mÀTÇ[Á[ÐRV×RdÑRdÐfj×fzÑfzð  }A÷  }Mñ  }Mð  OQóRð 	Rr   c                 ó"   • U R                  5       $ ©N)rE   )r4   s    r   Ú__str__ÚApplicationError.__str__'  s   € Ø×ÑÓ!Ð!r   )r,   r-   r.   r+   r   r/   r2   N)&r   r   r   r   r   ÚINVALID_URIÚINVALID_PAYLOADÚPAYLOAD_SIZE_EXCEEDEDÚNO_SUCH_PROCEDUREÚPROCEDURE_ALREADY_EXISTSÚ+PROCEDURE_EXISTS_INVOCATION_POLICY_CONFLICTÚNO_SUCH_REGISTRATIONÚNO_SUCH_SUBSCRIPTIONÚNO_SUCH_SESSIONÚINVALID_ARGUMENTÚSYSTEM_SHUTDOWNÚCLOSE_REALMÚGOODBYE_AND_OUTÚNOT_AUTHORIZEDÚAUTHORIZATION_FAILEDÚAUTHENTICATION_FAILEDÚNO_AUTH_METHODÚNO_SUCH_REALMÚNO_SUCH_ROLEÚNO_SUCH_PRINCIPALÚCANCELEDÚTIMEOUTÚNO_ELIGIBLE_CALLEEÚENC_NO_PAYLOAD_CODECÚENC_TRUSTED_URI_MISMATCHÚENC_DECRYPT_ERRORÚTYPE_CHECK_ERRORr1   r   r=   rE   rI   r   r   r   r   r   r   ]   s�  † ñð
 +€Kðð
 3€Oðð ?Ððð
 7Ððð
  EÐðð
 3qÐ/ðð
 =Ððð =Ððð 3€Oðð 5Ððð 3€Oðð
 +€Kðð
 3€Oðð 1€Nðð
 =Ððð ?Ððð
 1€Nðð /€Mðð
 -€Lðð 7Ððð %€Hðð #€Gðð
 9Ððð 9Ððð
  LÐðð >Ððð 5Ððò
;ð ñ

ó ð

òRõ"r   r   c                   ó   • \ rS rSrSrSrg)r   i+  z2
Not authorized to perform the respective action.
r   Nr   r   r   r   r   r   +  r   r   r   c                   ó   • \ rS rSrSrSrg)r   i2  úB
The URI for a topic, procedure or error is not a valid WAMP URI.
r   Nr   r   r   r   r   r   2  r   r   r   c                   ó   • \ rS rSrSrSrg)r   i9  rh   r   Nr   r   r   r   r   r   9  r   r   r   c                   ó,   ^ • \ rS rSrSrU 4S jrSrU =r$ )r   i@  zo
The URI for a topic published with invalid argument types or a
procedure called with invalid arguments types.
c                 óJ   >• [         TU ]  " [        R                  /UQ70 UD6  g rH   )Úsuperr1   r   re   )r4   r5   r2   Ú	__class__s      €r   r1   ÚTypeCheckError.__init__E  s!   ø€ Ü‰ÒÔ)×:Ñ:ÐL¸TÒLÀVÓLr   r   )r   r   r   r   r   r1   r   Ú__classcell__)rm   s   @r   r   r   @  s   ø† ñ÷Mó Mr   r   N)Úautobahn.utilr   Úautobahn.wamp.urir   Ú__all__ÚRuntimeErrorr   r   r   r   r	   r
   r   rX   r0   r   rK   r   rL   r   r   r   r   r   Ú<module>rt      sY  ðõ8 !Ý #ð€ð ôˆLó ó ðð ô�eó ó ðð ô˜ó ó ðð ô�eó ó ðð ô�Eó ó ðð ô�Eó ó ðð ôJ"�uó J"ó ðJ"ñZ Ð×&Ñ&Ó'ô�Ió ó (ðñ Ð×#Ñ#Ó$ô�ó ó %ðñ Ð×'Ñ'Ó(ô�Yó ó )ðôMÐ%õ Mr   