duplicity.errors module

Error/exception classes that do not fit naturally anywhere else.

exception duplicity.errors.BackendException(msg, code=50)[source]

Bases: duplicity.errors.DuplicityError

Raised to indicate a backend specific problem.

exception duplicity.errors.ConflictingScheme[source]

Bases: duplicity.errors.DuplicityError

Raised to indicate an attempt was made to register a backend for a scheme for which there is already a backend registered.

exception duplicity.errors.DuplicityError[source]

Bases: exceptions.Exception

exception duplicity.errors.FatalBackendException(msg, code=50)[source]

Bases: duplicity.errors.BackendException

Raised to indicate a backend failed fatally.

exception duplicity.errors.InvalidBackendURL[source]

Bases: duplicity.errors.UserError

Raised to indicate a URL was not a valid backend URL.

exception duplicity.errors.NotSupported[source]

Bases: duplicity.errors.DuplicityError

Exception raised when an action cannot be completed because some particular feature is not supported by the environment.

exception duplicity.errors.TemporaryLoadException(msg, code=50)[source]

Bases: duplicity.errors.BackendException

Raised to indicate a temporary issue on the backend. Duplicity should back off for a bit and try again.

exception duplicity.errors.UnsupportedBackendScheme(url)[source]

Bases: duplicity.errors.InvalidBackendURL, duplicity.errors.UserError

Raised to indicate that a backend URL was parsed successfully as a URL, but was not supported.

exception duplicity.errors.UserError[source]

Bases: duplicity.errors.DuplicityError

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.