o ö]Lb÷ã@stdZddlmZGdd„deƒZGdd„deƒZGdd„deƒZGd d „d eƒZGd d „d eƒZGd d„de ƒZ dS)zInterface-specific exceptions é)Úabsolute_importc@óeZdZdZdS)ÚInvalidz A specification is violated N©Ú__name__Ú __module__Ú __qualname__Ú__doc__©r r úP/usr/lib/python3/dist-packages/mercurial/thirdparty/zope/interface/exceptions.pyrórc@ó eZdZdZdd„Zdd„ZdS)ÚDoesNotImplementz This object does not implement cCs ||_dS©N)Ú interface)Úselfrr r r Ú__init__s zDoesNotImplement.__init__cCó d|jS)Nz>An object does not implement interface %(interface)s ©Ú__dict__©rr r r Ú__str__óþzDoesNotImplement.__str__N©rrrr rrr r r r rs rc@r )ÚBrokenImplementationz0An attribute is not completely implemented. cCó||_||_dSr)rÚname)rrrr r r r%ó zBrokenImplementation.__init__cCr)NztAn object has failed to implement interface %(interface)s The %(name)s attribute was not provided. rrr r r r)sýzBrokenImplementation.__str__Nrr r r r r!ó rc@r )ÚBrokenMethodImplementationz-An method is not completely implemented. cCrr)ÚmethodÚmess)rr r!r r r r3rz#BrokenMethodImplementation.__init__cCr)NzYThe implementation of %(method)s violates its contract because %(mess)s. rrr r r r7rz"BrokenMethodImplementation.__str__Nrr r r r r/rrc@r)ÚInvalidInterfacez'The interface has invalid contents Nrr r r r r"<r r"c@r)Ú BadImplementszŽAn implementation assertion is invalid because it doesn't contain an interface or a sequence of valid implementation assertions. Nrr r r r r#@r r#N) r Ú __future__rÚ Exceptionrrrrr"Ú TypeErrorr#r r r r Ús