ห
    q&f๗  ใ                   ๓    d Z ddlmZ  G d deซ      Z G d deซ      Z G d deซ      Z G d	 d
eซ      Z G d deซ      Z G d de	ซ      Z
y)zInterface-specific exceptions
้    )ฺabsolute_importc                   ๓    e Zd ZdZy)ฺInvalidz A specification is violated
    Nฉฺ__name__ฺ
__module__ฺ__qualname__ฺ__doc__ฉ ๓    ๚P/usr/lib/python3/dist-packages/mercurial/thirdparty/zope/interface/exceptions.pyr   r      ๓    ๒r   r   c                   ๓    e Zd ZdZd Zd Zy)ฺDoesNotImplementz  This object does not implement c                 ๓    || _         y ฉN)ฺ	interface)ฺselfr   s     r   ฺ__init__zDoesNotImplement.__init__   s	    ุ"r   c                 ๓     d| j                   z  S )Nz>An object does not implement interface %(interface)s

        ฉฺ__dict__ฉr   s    r   ฺ__str__zDoesNotImplement.__str__   ๓    ๐เmm๑๐ 	r   Nฉr   r   r	   r
   r   r   r   r   r   r   r      s    ู*๒#๓r   r   c                   ๓    e Zd ZdZd Zd Zy)ฺBrokenImplementationz0An attribute is not completely implemented.
    c                 ๓     || _         || _        y r   )r   ฺname)r   r   r    s      r   r   zBrokenImplementation.__init__%   s    ุ ุ	r   c                 ๓     d| j                   z  S )NztAn object has failed to implement interface %(interface)s

        The %(name)s attribute was not provided.
        r   r   s    r   r   zBrokenImplementation.__str__)   s    ๐๐ mm๑๐ 	r   Nr   r   r   r   r   r   !   s    ๑๒๓r   r   c                   ๓    e Zd ZdZd Zd Zy)ฺBrokenMethodImplementationz-An method is not completely implemented.
    c                 ๓     || _         || _        y r   )ฺmethodฺmess)r   r%   r&   s      r   r   z#BrokenMethodImplementation.__init__3   s    ุุ	r   c                 ๓     d| j                   z  S )NzYThe implementation of %(method)s violates its contract
        because %(mess)s.
        r   r   s    r   r   z"BrokenMethodImplementation.__str__7   r   r   Nr   r   r   r   r#   r#   /   s    ๑๒๓r   r#   c                   ๓    e Zd ZdZy)ฺInvalidInterfacez'The interface has invalid contents
    Nr   r   r   r   r)   r)   <   r   r   r)   c                   ๓    e Zd ZdZy)ฺBadImplementszAn implementation assertion is invalid

    because it doesn't contain an interface or a sequence of valid
    implementation assertions.
    Nr   r   r   r   r+   r+   @   s    ๒r   r+   N)r
   ฺ
__future__r   ฺ	Exceptionr   r   r   r#   r)   ฺ	TypeErrorr+   r   r   r   ๚<module>r/      sW   ๐๑๕ '๔i๔ ๔w๔ ๔7๔ ๔ ๔ ๔y๔ ๔I๕ r   