
    vKg                        S r  " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r  " S+ S,\5      r " S- S.\5      r " S/ S05      r " S1 S2\5      r " S3 S4\\5      r " S5 S6\5      r " S7 S8\5      r " S9 S:\\5      r " S; S<\5      r " S= S>\5      r  " S? S@\5      r! " SA SB\!5      r" " SC SD\5      r#gE)Fal  
We try to be very hygienic regarding the exceptions we throw:

- Every exception that might be externally visible to users shall be a subclass
  of MitmproxyException.p
- Every exception in the base net module shall be a subclass
  of NetlibException, and will not be propagated directly to users.

See also: http://lucumr.pocoo.org/2014/10/16/on-error-handling/
c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )MitmproxyException   z4
Base class for all exceptions thrown by mitmproxy.
c                 $   > [         TU ]  U5        g Nsuper__init__selfmessage	__class__s     l/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/seleniumwire/thirdparty/mitmproxy/exceptions.pyr	   MitmproxyException.__init__       !     r   __name__
__module____qualname____firstlineno____doc__r	   __static_attributes____classcell__r   s   @r   r   r      s    " "r   r   c                       \ rS rSrSrSrg)Kill   zP
Signal that both client and server connection(s) should be killed immediately.
r   Nr   r   r   r   r   r   r   r   r   r   r      s     	r   r   c                       \ rS rSrSrSrg)ProtocolException   z
ProtocolExceptions are caused by invalid user input, unavailable network resources,
or other events that are outside of our influence.
r   Nr   r   r   r   r!   r!      s     	r   r!   c                       \ rS rSrSrg)TlsProtocolException'   r   Nr   r   r   r   r   r   r   r   r$   r$   '       r   r$   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )ClientHandshakeException+   c                 0   > [         TU ]  U5        X l        g r   )r   r	   server)r   r   r,   r   s      r   r	   !ClientHandshakeException.__init__-   s    !r   )r,   )r   r   r   r   r	   r   r   r   s   @r   r)   r)   +   s     r   r)   c                       \ rS rSrS rSrg)InvalidServerCertificate2   c                     [        U 5      $ r   )str)r   s    r   __repr__!InvalidServerCertificate.__repr__3   s    4yr   r   N)r   r   r   r   r3   r   r   r   r   r/   r/   2   s    r   r/   c                       \ rS rSrSrg)Socks5ProtocolException8   r   Nr&   r   r   r   r6   r6   8   r'   r   r6   c                       \ rS rSrSrg)HttpProtocolException<   r   Nr&   r   r   r   r9   r9   <   r'   r   r9   c                       \ rS rSrSrg)Http2ProtocolException@   r   Nr&   r   r   r   r<   r<   @   r'   r   r<   c                       \ rS rSrSrg)Http2ZombieExceptionD   r   Nr&   r   r   r   r?   r?   D   r'   r   r?   c                       \ rS rSrSrg)ServerExceptionH   r   Nr&   r   r   r   rB   rB   H   r'   r   rB   c                       \ rS rSrSrg)ContentViewExceptionL   r   Nr&   r   r   r   rE   rE   L   r'   r   rE   c                       \ rS rSrSrg)ReplayExceptionP   r   Nr&   r   r   r   rH   rH   P   r'   r   rH   c                       \ rS rSrSrg)FlowReadExceptionT   r   Nr&   r   r   r   rK   rK   T   r'   r   rK   c                       \ rS rSrSrg)ControlExceptionX   r   Nr&   r   r   r   rN   rN   X   r'   r   rN   c                       \ rS rSrSrg)SetServerNotAllowedException\   r   Nr&   r   r   r   rQ   rQ   \   r'   r   rQ   c                       \ rS rSrSrg)CommandError`   r   Nr&   r   r   r   rT   rT   `   r'   r   rT   c                       \ rS rSrSrg)OptionsErrord   r   Nr&   r   r   r   rW   rW   d   r'   r   rW   c                       \ rS rSrSrg)AddonManagerErrorh   r   Nr&   r   r   r   rZ   rZ   h   r'   r   rZ   c                       \ rS rSrSrSrg)	AddonHaltl   zO
Raised by addons to signal that no further handlers should handle this event.
r   Nr   r   r   r   r]   r]   l   s     	r   r]   c                       \ rS rSrSrg)	TypeErrors   r   Nr&   r   r   r   r`   r`   s   r'   r   r`   c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )NetlibException|   z8
Base class for all exceptions thrown by mitmproxy.net.
c                 $   > [         TU ]  U5        g r   r   r
   s     r   r	   NetlibException.__init__   r   r   r   r   r   r   s   @r   rc   rc   |   s    " "r   rc   c                       \ rS rSrSrg)SessionLoadException   r   Nr&   r   r   r   rh   rh      r'   r   rh   c                       \ rS rSrSrSrg)
Disconnect   zImmediate EOFr   Nr   r   r   r   rk   rk      s    r   rk   c                       \ rS rSrSrg)HttpException   r   Nr&   r   r   r   rn   rn      r'   r   rn   c                       \ rS rSrSrg)HttpReadDisconnect   r   Nr&   r   r   r   rq   rq      r'   r   rq   c                       \ rS rSrSrg)HttpSyntaxException   r   Nr&   r   r   r   rt   rt      r'   r   rt   c                       \ rS rSrSrg)TcpException   r   Nr&   r   r   r   rw   rw      r'   r   rw   c                       \ rS rSrSrg)TcpDisconnect   r   Nr&   r   r   r   rz   rz      r'   r   rz   c                       \ rS rSrSrg)TcpReadIncomplete   r   Nr&   r   r   r   r}   r}      r'   r   r}   c                       \ rS rSrSrg)
TcpTimeout   r   Nr&   r   r   r   r   r      r'   r   r   c                       \ rS rSrSrg)TlsException   r   Nr&   r   r   r   r   r      r'   r   r   c                       \ rS rSrSrg)InvalidCertificateException   r   Nr&   r   r   r   r   r      r'   r   r   c                       \ rS rSrSrg)Timeout   r   Nr&   r   r   r   r   r      r'   r   r   N)$r   	Exceptionr   r   r!   r$   r)   r/   r6   r9   r<   r?   rB   rE   rH   rK   rN   rQ   rT   rW   rZ   r]   r`   rc   rh   rk   rn   rq   rt   rw   rz   r}   r   r   r   r   r   r   r   <module>r      s  	" "	 		* 		, 	3 3 	/ 		- 		. 		, 		( 		- 		( 		* 		) 		#5 		9 		% 		* 		" 		" 	
"( "	- 	 	O 		
 		- 		? 		L* 		 		 		? 		, 		l 	r   