File: //usr/lib/python3/dist-packages/duplicity/__pycache__/errors.cpython-310.pyc
o
�1ka�
� @ s� d Z ddlmZ G dd� de�ZG dd� de�ZG dd� de�ZG d d
� d
e�ZG dd� de�ZG d
d� dee�Z G dd� de�Z
G dd� de
�ZG dd� de
�ZG dd� de�Z
dS )zB
Error/exception classes that do not fit naturally anywhere else.
� )�logc @ � e Zd ZdS )�DuplicityErrorN��__name__�
__module__�__qualname__� r r �2/usr/lib/python3/dist-packages/duplicity/errors.pyr � r c @ � e Zd ZdZdS )� 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�r r r �__doc__r r r r
r
! s r
c @ r )�NotSupportedz�
Exception raised when an action cannot be completed because some
particular feature is not supported by the environment.
Nr r r r r
r * � r c @ r )�ConflictingSchemez�
Raised to indicate an attempt was made to register a backend for a
scheme for which there is already a backend registered.
Nr r r r r
r 2 r r c @ r )�InvalidBackendURLz?
Raised to indicate a URL was not a valid backend URL.
Nr r r r r
r : � r c @ s e Zd ZdZdd� ZdS )�UnsupportedBackendSchemezl
Raised to indicate that a backend URL was parsed successfully as a
URL, but was not supported.
c C s t �| d|f � || _d S )Nzscheme not supported in url: %s)r �__init__�url)�selfr r r r
r F s �
z!UnsupportedBackendScheme.__init__N)r r r r r r r r r
r A s r c s( e Zd ZdZejjf� fdd� Z� ZS )�BackendExceptionz8
Raised to indicate a backend specific problem.
c s t t| ��|� || _d S )N)�superr r �code)r �msgr �� __class__r r
r P s
zBackendException.__init__) r r r r r � ErrorCode�
backend_errorr �
__classcell__r r r r
r L s r c @ r )�FatalBackendExceptionz6
Raised to indicate a backend failed fatally.
Nr r r r r
r"