Ë
    :É„jì  ã                   ó  — d Z 	 ddl­ dZ ddl­ ddlmZmZ  G d„ de«      Z G d„ de«      Z	 G d	„ d
e	«      Z
 G d„ de	«      Zg d¢Ze rej                  ej                  «       ej                  ej                  «       y# e$ r Y Œ}w xY w)Fé   )Ú*T)ÚRPCErrorÚUnknownErrorc                   ó:   ‡ — e Zd Zddddddddd	d
ddœZˆ fd„Zˆ xZS )ÚBadMsgNotificationz>The msg_id is too low, the client time has to be synchronized.z?The msg_id is too high, the client time has to be synchronized.zpIncorrect two lower order of the msg_id bits, the server expects the client message msg_id to be divisible by 4.zPThe container msg_id is the same as the msg_id of a previously received message.z<The message is too old, it cannot be verified by the server.zThe msg_seqno is too low.zThe msg_seqno is too high.z<An even msg_seqno was expected, but an odd one was received.z<An odd msg_seqno was expected, but an even one was received.zIncorrect server salt.zInvalid container.)é   é   é   é   é   é    é!   é"   é#   é0   é@   c                 óh   •— | j                   j                  |d«      }t        ‰| �  d|› d|› �«       y )NzUnknown error codeú[z] )ÚdescriptionsÚgetÚsuperÚ__init__)ÚselfÚcodeÚdescriptionÚ	__class__s      €úO/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/errors/__init__.pyr   zBadMsgNotification.__init__/   s6   ø€ Ø×'Ñ'×+Ñ+¨DÐ2FÓGˆÜ‰Ñ˜1˜T˜F " [ MÐ2Õ3ó    )Ú__name__Ú
__module__Ú__qualname__r   r   Ú__classcell__©r   s   @r   r   r      s7   ø„ àLØMð+à^ØJØ'Ø(ØJØJØ$Ø ñ€L÷4ð 4r   r   c                   ó*   — e Zd ZdZededefd„«       Zy)ÚSecurityErrorzGeneric security error.ÚcondÚmsgc                 ó   — |s | d|› �«      ‚y)z/Raises this exception if the condition is falsezCheck failed: N© )Úclsr&   r'   s      r   ÚcheckzSecurityError.check7   s   € ñ Ù˜ s eÐ,Ó-Ð-ð r   N)r   r    r!   Ú__doc__ÚclassmethodÚboolÚstrr+   r)   r   r   r%   r%   4   s%   „ Ù!àð.˜ð . Cò .ó ñ.r   r%   c                   ó*   ‡ — e Zd ZdZddefˆ fd„Zˆ xZS )ÚSecurityCheckMismatchz-Raised when a security check mismatch occurs.r'   c                 ó6   •— t         ‰| �  |€d«       y |«       y )Nz'A security check mismatch has occurred.©r   r   ©r   r'   r   s     €r   r   zSecurityCheckMismatch.__init__A   s   ø€ Ü‰ÑÀcÀkÐBÕ[ÐWZÕ[r   ©N©r   r    r!   r,   r/   r   r"   r#   s   @r   r1   r1   >   s   ø„ Ù7ñ\˜C÷ \ñ \r   r1   c                   ó*   ‡ — e Zd ZdZddefˆ fd„Zˆ xZS )ÚCDNFileHashMismatchz,Raised when a CDN file hash mismatch occurs.r'   c                 ó6   •— t         ‰| �  |€d«       y |«       y )Nz&A CDN file hash mismatch has occurred.r3   r4   s     €r   r   zCDNFileHashMismatch.__init__H   s   ø€ Ü‰ÑÀSÀ[ÐAÕZÐVYÕZr   r5   r6   r#   s   @r   r8   r8   E   s   ø„ Ù6ñ[˜C÷ [ñ [r   r8   )r   r%   r1   r8   r   r   N)ÚEXCEPTION_AVAILÚ
exceptionsÚImportErrorÚpyromodÚ	rpc_errorr   r   Ú	Exceptionr   r%   r1   r8   Ú__all__Úextendr)   r   r   ú<module>rB      s˜   ðð( €ðÜð €OÜ ß -ô4˜ô 4ô*.�Iô .ô\˜Mô \ô[˜-ô [ò€ñ Ø‡N�N�:×%Ñ%Ô&Ø ‡�ˆw�‰Õ øð} ò 	Ùð	ús   „B ÂB	ÂB	