§
    ¹³Ùg7  ã                   ón   — d Z ddlmZmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Zd	S )
z.Exception for errors raised by the QPY module.é    )ÚQiskitErrorÚQiskitWarningc                   ó(   ‡ — e Zd ZdZˆ fd„Zd„ Zˆ xZS )ÚQpyErrorz Errors raised by the qpy module.c                 óh   •—  t          ¦   «         j        |Ž  d                     |¦  «        | _        dS )zSet the error message.ú N)ÚsuperÚ__init__ÚjoinÚmessage)Úselfr   Ú	__class__s     €úK/granary/edev/quantum/lib/python3.11/site-packages/qiskit/qpy/exceptions.pyr
   zQpyError.__init__   s.   ø€ à�‰ŒÔ˜'Ð"Ð"Ø—x’x Ñ(Ô(ˆŒˆˆó    c                 ó*   — t          | j        ¦  «        S )zReturn the message.)Úreprr   )r   s    r   Ú__str__zQpyError.__str__   s   € å�D”LÑ!Ô!Ð!r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ú__classcell__©r   s   @r   r   r      sM   ø€ € € € € Ø*Ð*ð)ð )ð )ð )ð )ð
"ð "ð "ð "ð "ð "ð "r   r   c                   ó0   ‡ — e Zd ZdZdededefˆ fd„Zˆ xZS )ÚUnsupportedFeatureForVersionzzQPY error raised when the target dump version is too low for a feature that is present in the
    object to be serialized.ÚfeatureÚrequiredÚtargetc           	      óˆ   •— || _         || _        || _        t          ¦   «                              d|› d|› d|› d�¦  «         dS )a  
        Args:
            feature: a description of the problematic feature.
            required: the minimum version of QPY that would be required to represent this
                feature.
            target: the version of QPY that is being used in the serialization.
        zDumping QPY version z, but version z is required for: ú.N)r   r   r   r	   r
   )r   r   r   r   r   s       €r   r
   z%UnsupportedFeatureForVersion.__init__#   s_   ø€ ð ˆŒØ ˆŒØˆŒÝ‰Œ×ÒØ_ 6Ð_Ð_¸Ð_Ð_ÐU\Ð_Ð_Ð_ñ	
ô 	
ð 	
ð 	
ð 	
r   )r   r   r   r   ÚstrÚintr
   r   r   s   @r   r   r      s\   ø€ € € € € ð ð  ð
 ð 
¨sð 
¸Cð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
r   r   c                   ó   — e Zd ZdZdS )Ú"QPYLoadingDeprecatedFeatureWarningzcVisible deprecation warning for QPY loading functions without
    a stable point in the call stack.N)r   r   r   r   © r   r   r$   r$   3   s   € € € € € ð)ð )ð )ð )r   r$   N)r   Úqiskit.exceptionsr   r   r   r   r$   r%   r   r   ú<module>r'      s­   ðð 5Ð 4à 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8ð
"ð 
"ð 
"ð 
"ð 
"ˆ{ñ 
"ô 
"ð 
"ð
ð 
ð 
ð 
ð 
 8ñ 
ô 
ð 
ð()ð )ð )ð )ð )¨ñ )ô )ð )ð )ð )r   