
    (ph                     V    S r SSKJr   " S S\5      r " S S\5      r " S S\5      rg	)
z,Exceptions defined by Beautiful Soup itself.    )Unionc                       \ rS rSrSrSrg)StopParsing   zEException raised by a TreeBuilder if it's unable to continue parsing. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       A/var/www/html/venv/lib/python3.13/site-packages/bs4/exceptions.pyr   r      s    Or   r   c                       \ rS rSrSrSrg)FeatureNotFound
   zeException raised by the BeautifulSoup constructor if no parser with the
requested features is found.
r   Nr   r   r   r   r   r   
   s    r   r   c                   >   ^  \ rS rSrSrS\\\4   4U 4S jjrSr	U =r
$ )ParserRejectedMarkup   z_An Exception to be raised when the underlying parser simply
refuses to parse the given markup.
message_or_exceptionc                    > [        U[        5      (       a(  UnUR                  R                  < S[	        U5      < 3n[
        [        U ]  U5        g)zjExplain why the parser rejected the given markup, either
with a textual explanation or another exception.
z: N)
isinstance	Exception	__class__r	   strsuperr   __init__)selfr   er   s      r   r   ParserRejectedMarkup.__init__   sB     *I66$A/0{{/C/CSV#L "D23GHr   r   )r	   r
   r   r   r   r   r   r   r   r   __classcell__)r   s   @r   r   r      s%    IU3	>-B I Ir   r   N)r   typingr   r   r   
ValueErrorr   r   r   r   r   <module>r%      s3    2 P) Pj I9 Ir   