
    gS                         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	g)zCustom Exceptions for HACS.c                       \ rS rSrSrSrg)HacsException   zSuper basic. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       ,/config/custom_components/hacs/exceptions.pyr   r      s    r   r   c                       \ rS rSrSrSrg)HacsRepositoryArchivedException   z#For repositories that are archived.r   Nr   r   r   r   r   r      s    -r   r   c                       \ rS rSrSrSrg)HacsNotModifiedException   z$For responses that are not modified.r   Nr   r   r   r   r   r      s    .r   r   c                       \ rS rSrSrSrg)HacsExpectedException   zFor stuff that are expected.r   Nr   r   r   r   r   r      s    &r   r   c                       \ rS rSrSrSrg)HacsRepositoryExistException   z(For repositories that are already exist.r   Nr   r   r   r   r   r      s    2r   r   c                       \ rS rSrSrSrg)HacsExecutionStillInProgress   z5Exception to raise if execution is still in progress.r   Nr   r   r   r   r   r      s    ?r   r   c                   4   ^  \ rS rSrSrSrSU 4S jjrSrU =r$ )AddonRepositoryException   z<Exception to raise when user tries to add add-on repository.ziThe repository does not seem to be a integration, but an add-on repository. HACS does not manage add-ons.c                 8   > [         TU ]  U R                  5        g Nsuper__init__exception_messageself	__class__s    r   r%   !AddonRepositoryException.__init__$       //0r   r   returnN	r   r   r	   r
   r   r&   r%   r   __classcell__r)   s   @r   r   r      s    F	B 
1 1r   r   c                   4   ^  \ rS rSrSrSrSU 4S jjrSrU =r$ )$HomeAssistantCoreRepositoryException(   zMException to raise when user tries to add the home-assistant/core repository.zxYou can not add homeassistant/core, to use core integrations check the Home Assistant documentation for how to add them.c                 8   > [         TU ]  U R                  5        g r"   r#   r'   s    r   r%   -HomeAssistantCoreRepositoryException.__init__0   r+   r   r   r,   r.   r0   s   @r   r2   r2   (   s    W	F 
1 1r   r2   N)
r   	Exceptionr   r   r   r   r   r   r   r2   r   r   r   <module>r7      sj    !I .m ./} /'M '3= 3@= @	1} 	1	1= 	1r   