+
     h  c                   s    ! R  R] 4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R	]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t	 ! R R]4      t
 ! R R]4      t ! R R]4      tR# )c                   sB   a a ] tR t^t oRV3R lV 3R llltRtVtV ;t# )PyPresenceExceptionc                    < V ^8  d   QhRS[ /#    messagestrformat__classdict__   ":/usr/lib/python3.14/site-packages/pypresence/exceptions.py__annotate__Z PyPresenceException.__annotate__   s     " " "    c                s2   < Vf   Rp\         SV `  V4       R # )Nz'An error has occurred within PyPresencesuper__init__selfr   	__class__   &&r   r   ZPyPresenceException.__init__   s    ??G!r    NZ__name__Z
__module__Z__qualname__Z__firstlineno__r   Z__static_attributes__Z__classdictcell__Z__classcell__r   r	      @@r   r    r       s     " " "r   r    c                   s2   a a ] tR t^t oV 3R ltRtVtV ;t# )DiscordNotFoundc                &   < \         SV `  R 4       R# )z=Could not find Discord installed and running on this machine.Nr   r   r      &r   r   ZDiscordNotFound.__init__	   s    XYr   r   r   r   r   r   r   r      s     Z Zr   r   c                   s2   a a ] tR t^t oV 3R ltRtVtV ;t# )InvalidPipec                r   )z$Pipe Not Found - Is Discord Running?Nr   r   r   r   r   ZInvalidPipe.__init__   s    ?@r   r   r   r   r   r   r   r      s     A Ar   r   c                   sB   a a ] tR t^t oRV3R lV 3R llltRtVtV ;t# )InvalidArgumentc                r   )r   descriptionr   r   r
   r   r   ZInvalidArgument.__annotate__   s       r   c                s|   < V'       d   R P                  V4      MRp\        SV `	  RP                  WV4      4       R# )z
{0} z8Bad argument passed. Expected {0} but got {1} instead{2}N)r   r   r   )r   ZexpectedZreceivedr    r      &&&&r   r   ZInvalidArgument.__init__   s7    5@gnn[1bSZZ[c[fh 	r   r   r   r   r   r   r   r   r      s       r   r   c                   s>   a a ] tR t^t oV3R lV 3R lltRtVtV ;t# )ServerErrorc                r   r   r   r   r
   r   r   ZServerError.__annotate__   s     Q Q Qr   c                s   < \         SV `  VP                  R R4      P                  RR4      P                  4       4       R# )Z]r!   Z[N)r   r   ZreplaceZ
capitalizer   r   r   r   ZServerError.__init__   s1    b199#rBMMOPr   r   r   r   r   r   r#   r#      s     Q Q Qr   r#   c                   sB   a a ] tR t^t oRV3R lV 3R llltRtVtV ;t# )DiscordErrorc                s&   < V ^8  d   QhRS[ RS[/# )r   coder   )Zintr   r   r
   r   r   ZDiscordError.__annotate__    s     l lS l3 lr   c                s|   < Wn         W n        \        ST `  V'       g   R P	                  W4      4       R# T4       R# )zError Code: {0} Message: {1}N)r%   r   r   r   r   )r   r%   r   Zoverrider   r"   r   r   ZDiscordError.__init__    s/    	U]7>>tMkcjkr   )r%   r   )Fr   r   r   r   r$   r$      s     l l lr   r$   c                   s2   a a ] tR t^&t oV 3R ltRtVtV ;t# )	InvalidIDc                s(   < \         SV `  R R4       R# )i  zClient ID is InvalidNr   r   r   r   r   ZInvalidID.__init__'   s    56r   r   r   r   r   r   r&   r&   &   s     7 7r   r&   c                   s2   a a ] tR t^+t oV 3R ltRtVtV ;t# )ArgumentErrorc                r   )z)Supplied function must have one argument.Nr   r   r   r   r   ZArgumentError.__init__,   s    DEr   r   r   r   r   r   r'   r'   +   s     F Fr   r'   c                   s2   a a ] tR t^0t oV 3R ltRtVtV ;t# )EventNotFoundc                sD   < \         SV `  R P                  V4      4       R# )zNo event with name {0} exists.N)r   r   r   )r   Zeventr   r   r   r   ZEventNotFound.__init__1   s    9@@GHr   r   r   r   r   r   r(   r(   0   s     I Ir   r(   c                   s2   a a ] tR t^5t oV 3R ltRtVtV ;t# )
PipeClosedc                r   )zGThe pipe was closed. Catch this exception and re-connect your instance.Nr   r   r   r   r   ZPipeClosed.__init__6   s    bcr   r   r   r   r   r   r)   r)   5   s     d dr   r)   c                   s2   a a ] tR t^:t oV 3R ltRtVtV ;t# )ResponseTimeoutc                r   )z.No response was received from the pipe in timeNr   r   r   r   r   ZResponseTimeout.__init__;   s    IJr   r   r   r   r   r   r*   r*   :   s     K Kr   r*   c                   s2   a a ] tR t^?t oV 3R ltRtVtV ;t# )ConnectionTimeoutc                r   )z1Unable to create a connection to the pipe in timeNr   r   r   r   r   ZConnectionTimeout.__init__@   s    LMr   r   r   r   r   r   r+   r+   ?   s     N Nr   r+   N)Z	Exceptionr    r   r   r   r#   r$   r&   r'   r(   r)   r*   r+   r   r   r   <module>r,      s   ") "Z) Z
A% A
) Q% Q
l& l7 7
F' F
I' I
d$ d
K) K
N+ Nr   