
    h                         G d  de           Z G d de          Z G d de          Z G d de          Z G d d	e          Z G d
 de          Z G d de          Z G d de          Z	 G d de          Z
dS )c                         e Zd Zd fd	Z xZS )YFException c                 J    t                                          |           d S )Nsuper__init__)selfdescription	__class__s     Q/var/www/html/marketdash/venv/lib/python3.11/site-packages/yfinance/exceptions.pyr   zYFException.__init__   s!    %%%%%    )r   __name__
__module____qualname__r   __classcell__r   s   @r   r   r      s=        & & & & & & & & & &r   r   c                       e Zd ZdS )YFDataExceptionN)r   r   r    r   r   r   r      s        Dr   r   c                        e Zd Z fdZ xZS )YFNotImplementedErrorc                 R    t                                          d| d           d S )NzHave not implemented fetching 'z' from Yahoo APIr   )r	   method_namer   s     r   r   zYFNotImplementedError.__init__   s-    X;XXXYYYYYr   r   r   s   @r   r   r   
   sA        Z Z Z Z Z Z Z Z Zr   r   c                        e Zd Z fdZ xZS )YFTickerMissingErrorc                 r    t                                          d| d|            || _        || _        d S )N$z: possibly delisted; )r   r   	rationaleticker)r	   r    r   r   s      r   r   zYFTickerMissingError.__init__   s>    EVEE)EEFFF"r   r   r   s   @r   r   r      s8                r   r   c                        e Zd Z fdZ xZS )YFTzMissingErrorc                 L    t                                          |d           d S )Nzno timezone foundr   r	   r    r   s     r   r   zYFTzMissingError.__init__   s$    !455555r   r   r   s   @r   r"   r"      s8        6 6 6 6 6 6 6 6 6r   r"   c                        e Zd Z fdZ xZS )YFPricesMissingErrorc                     || _         |dk    r't                                          |d|            d S t                                          |d           d S )Nr   zno price data found zno price data found)
debug_infor   r   )r	   r    r(   r   s      r   r   zYFPricesMissingError.__init__   s_    $GGV%HJ%H%HIIIIIGGV%:;;;;;r   r   r   s   @r   r&   r&      8        < < < < < < < < <r   r&   c                        e Zd Z fdZ xZS )YFEarningsDateMissingc                 L    t                                          |d           d S )Nzno earnings dates foundr   r$   s     r   r   zYFEarningsDateMissing.__init__&   s$    !:;;;;;r   r   r   s   @r   r+   r+   $   s8        < < < < < < < < <r   r+   c                        e Zd Z fdZ xZS )YFInvalidPeriodErrorc                     || _         || _        || _        t                                          | j          d| d|            d S )Nz
: Period 'z' is invalid, must be one of: )r    invalid_periodvalid_rangesr   r   )r	   r    r0   r1   r   s       r   r   zYFInvalidPeriodError.__init__+   sg    ,(DK ; ;> ; ;,8; ; 	< 	< 	< 	< 	<r   r   r   s   @r   r.   r.   *   r)   r   r.   c                        e Zd Z fdZ xZS )YFRateLimitErrorc                 J    t                                          d           d S )Nz3Too Many Requests. Rate limited. Try after a while.r   )r	   r   s    r   r   zYFRateLimitError.__init__4   s"    NOOOOOr   r   r   s   @r   r3   r3   3   sA        P P P P P P P P Pr   r3   N)	Exceptionr   r   NotImplementedErrorr   r   r"   r&   r+   r.   r3   r   r   r   <module>r7      s  & & & & &) & & &
	 	 	 	 	k 	 	 	Z Z Z Z Z/ Z Z Z
    ;   6 6 6 6 6+ 6 6 6
< < < < </ < < << < < < <0 < < << < < < <; < < <P P P P P{ P P P P Pr   