
    iX                         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	 " S S\5      r
 " S S\5      rg)z$
Errors to be used by PyChromecast.
c                       \ rS rSrSrSrg)PyChromecastError   zBase error for PyChromecast. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       I/home/sebas/venvs/catt/lib/python3.13/site-packages/pychromecast/error.pyr   r      s    &r   r   c                       \ rS rSrSrSrg)ChromecastConnectionError
   z3When a connection error occurs within PyChromecast.r   Nr   r   r   r   r   r   
   s    =r   r   c                       \ rS rSrSrSrg)ChromecastConnectionClosed   z.When a connection was closed by remote device.r   Nr   r   r   r   r   r      s    8r   r   c                       \ rS rSrSrSrg)PyChromecastStopped   zSRaised when a command is invoked while the Chromecast's socket_client
is stopped.

r   Nr   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)NotConnected   zG
Raised when a command is invoked while not connected to a Chromecast.
r   Nr   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)UnsupportedNamespace   zi
Raised when trying to send a message with a namespace that is not
supported by the current running app.
r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)ControllerNotRegistered&   zg
Raised when trying to interact with a controller while it is
not registered with a ChromeCast object.
r   Nr   r   r   r   r    r    &   r   r   r    c                   <   ^  \ rS rSrSrSrS\SS4U 4S jjrSrU =r	$ )	RequestFailed-   z)Raised when a request failed to complete.zFailed to execute {request}.requestreturnNc                 R   > [         TU ]  U R                  R                  US95        g )N)r%   super__init__MSGformat)selfr%   	__class__s     r   r*   RequestFailed.__init__2   s    9:r   r   )
r   r   r	   r
   r   r+   strr*   r   __classcell__r.   s   @r   r#   r#   -   s#    3
(C; ; ; ;r   r#   c                   @   ^  \ rS rSrSrSrS\S\SS4U 4S jjrS	r	U =r
$ )
RequestTimeout6   z Raised when a request timed out.z3Execution of {request} timed out after {timeout} s.r%   timeoutr&   Nc                 R   > [         TU ]  U R                  R                  XS95        g )N)r%   r6   r(   )r-   r%   r6   r.   s      r   r*   RequestTimeout.__init__;   s    JKr   r   )r   r   r	   r
   r   r+   r0   floatr*   r   r1   r2   s   @r   r4   r4   6   s/    *
?CL Le L L Lr   r4   c                       \ rS rSrSrSrg)ZeroConfInstanceRequired?   z,Raised when a zeroconf instance is required.r   Nr   r   r   r   r;   r;   ?   s    6r   r;   N)r   	Exceptionr   r   r   r   r   r   r    r#   r4   r;   r   r   r   <module>r>      s   
'	 '> 1 >9!2 9+ $ , / ;% ;L& L70 7r   