duplicity.errors module

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

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

Bases: DuplicityError

Raised to indicate a backend specific problem.

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

Bases: DuplicityError

exception duplicity.errors.ConflictingScheme[source]

Bases: 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: Exception

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

Bases: BackendException

Raised to indicate a backend failed fatally.

exception duplicity.errors.InvalidBackendURL[source]

Bases: UserError

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

exception duplicity.errors.NotSupported[source]

Bases: 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: 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: InvalidBackendURL, UserError

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

__init__(url)[source]
exception duplicity.errors.UserError[source]

Bases: 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.