
    3j                     \     " S  S\ 5      r " S S\5      r " S S\5      r " S S\5      rg)	c                       \ rS rSrSrSrg)BackendError   z*Base exception for backend-related errors. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       R/home/wildlama/miniconda3/lib/python3.13/site-packages/comfy_kitchen/exceptions.pyr   r      s    4r   r   c                   >   ^  \ rS rSrSS\S\S-  4U 4S jjjrSrU =r$ )BackendNotFoundError   Nbackend_namereasonc                 Z   > Xl         SU S3nU(       a  USU 3-  n[        TU ]	  U5        g )N	Backend 'z' is not available: )r   super__init__)selfr   r   msg	__class__s       r   r   BackendNotFoundError.__init__   s8    (,'9:Rx= Cr   )r   )Nr   r   r   r	   strr   r   __classcell__r   s   @r   r   r      s    S #*  r   r   c                   4   ^  \ rS rSrS\S\4U 4S jjrSrU =r$ )BackendNotImplementedError   r   	func_namec                 N   > Xl         X l        SU SU S3n[        TU ]  U5        g )Nr   z' does not implement '')r   r#   r   r   )r   r   r#   r   r   s       r   r   #BackendNotImplementedError.__init__   s0    (",'=i[Jr   )r   r#   r   r   s   @r   r!   r!      s    S S  r   r!   c                   B   ^  \ rS rSrSrS\S\\\4   4U 4S jjrSrU =r	$ )NoCapableBackendError   zKRaised when no backend can handle the request due to constraint violations.r#   failuresc                    > Xl         X l        U(       d  SU S3nO.SR                  S UR                  5        5       5      nSU SU 3n[        TU ]  U5        g )NzNo backend available for 'r%   z; c              3   4   #    U  H  u  pU S U 3v   M     g7f)r   Nr   ).0namer   s      r   	<genexpr>1NoCapableBackendError.__init__.<locals>.<genexpr>&   s     YHX4&6( 3HXs   zNo backend can handle 'z': )r#   r*   joinitemsr   r   )r   r#   r*   r   detailsr   s        r   r   NoCapableBackendError.__init__   sZ    
 # .yk;CiiYHXYYG+I;c'CCr   )r*   r#   )
r   r   r   r	   r
   r   dictr   r   r   r   s   @r   r(   r(      s*    U sCx. r   r(   N)RuntimeErrorr   r   r!   r(   r   r   r   <module>r7      s5   	< 	<  L r   