
    FPh0                     &    d dl mZ  G d de      Zy)    )emojisc                   $     e Zd ZdZd fd	Z xZS )HUBModelErrora  
    Custom exception class for handling errors related to model fetching in Ultralytics YOLO.

    This exception is raised when a requested model is not found or cannot be retrieved.
    The message is also processed to include emojis for better user experience.

    Attributes:
        message (str): The error message displayed when the exception is raised.

    Note:
        The message is automatically processed through the 'emojis' function from the 'ultralytics.utils' package.
    c                 6    t         |   t        |             y)z2Create an exception for when a model is not found.N)super__init__r   )selfmessage	__class__s     cC:\Users\daisl\Desktop\realtime-object-detection\venv\Lib\site-packages\ultralytics/utils/errors.pyr   zHUBModelError.__init__   s    )    )z6Model not found. Please check model URL and try again.)__name__
__module____qualname____doc__r   __classcell__)r   s   @r   r   r      s    * *r   r   N)ultralytics.utilsr   	Exceptionr    r   r   <module>r      s    %*I *r   