o è1kaä ã@s¶dZddlmZGdd„deƒZGdd„deƒZGdd„deƒZGd d „d eƒZGd d „d eƒZGd d„deeƒZ Gdd„deƒZ Gdd„de ƒZ Gdd„de ƒZ Gdd„deƒZ dS)zB Error/exception classes that do not fit naturally anywhere else. é)Úlogc@ó eZdZdS)ÚDuplicityErrorN©Ú__name__Ú __module__Ú __qualname__©r r ú2/usr/lib/python3/dist-packages/duplicity/errors.pyrórc@óeZdZdZdS)Ú UserErrorzà Subclasses use this in their inheritance hierarchy to signal that the error is a user generated one, and that it is therefore typically unsuitable to display a full stack trace. N©rrrÚ__doc__r r r r r !sr c@r )Ú NotSupportedz† Exception raised when an action cannot be completed because some particular feature is not supported by the environment. Nrr r r r r*órc@r )ÚConflictingSchemezˆ Raised to indicate an attempt was made to register a backend for a scheme for which there is already a backend registered. Nrr r r r r2rrc@r )ÚInvalidBackendURLz? Raised to indicate a URL was not a valid backend URL. Nrr r r r r:órc@seZdZdZdd„ZdS)ÚUnsupportedBackendSchemezl Raised to indicate that a backend URL was parsed successfully as a URL, but was not supported. cCst |d|f¡||_dS)Nzscheme not supported in url: %s)rÚ__init__Úurl)Úselfrr r r rFsÿ z!UnsupportedBackendScheme.__init__N)rrrrrr r r r rAs rcs(eZdZdZejjf‡fdd„ Z‡ZS)ÚBackendExceptionz8 Raised to indicate a backend specific problem. cstt|ƒ |¡||_dS)N)ÚsuperrrÚcode)rÚmsgr©Ú __class__r r rPs zBackendException.__init__) rrrrrÚ ErrorCodeÚ backend_errorrÚ __classcell__r r rr rLsrc@r )ÚFatalBackendExceptionz6 Raised to indicate a backend failed fatally. Nrr r r r r"Urr"c@r )ÚTemporaryLoadExceptionzu Raised to indicate a temporary issue on the backend. Duplicity should back off for a bit and try again. Nrr r r r r#\rr#c@r)ÚBadVolumeExceptionNrr r r r r$dr r$N)rÚ duplicityrÚ Exceptionrr rrrrrr"r#r$r r r r Ús