%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/duplicity/__pycache__/ |
| Current File : //lib/python3/dist-packages/duplicity/__pycache__/errors.cpython-312.pyc |
�
�2e�
� �� � d Z ddlmZ G d� de� Z G d� de� Z G d� de� Z G d � d
e� Z G d� de� Z G d
� dee� Z G d� de� Z
G d� de
� Z G d� de
� Z G d� de� Z
y)zB
Error/exception classes that do not fit naturally anywhere else.
� )�logc � � e Zd Zy)�DuplicityErrorN��__name__�
__module__�__qualname__� � �2/usr/lib/python3/dist-packages/duplicity/errors.pyr r � � �r r c � � e Zd ZdZy)� 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 r c � � e Zd ZdZy)�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 r c � � e Zd ZdZy)�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 4 r r r c � � e Zd ZdZy)�InvalidBackendURLz?
Raised to indicate a URL was not a valid backend URL.
Nr r
r r r r = � � �� r r c � � e Zd ZdZd� Zy)�UnsupportedBackendSchemezl
Raised to indicate that a backend URL was parsed successfully as a
URL, but was not supported.
c �D � t j | d|� �� || _ y )Nzscheme not supported in url: )r �__init__�url)�selfr s r r z!UnsupportedBackendScheme.__init__K s! � ��"�"�4�+H���)N�O���r N)r r r r r r
r r r r E s � ��
r r c �N � � e Zd ZdZej
j f� fd� Z� xZS )�BackendExceptionz8
Raised to indicate a backend specific problem.
c �2 �� t �| � |� || _ y )N)�superr �code)r �msgr$ � __class__s �r r zBackendException.__init__U s �� �
������� r ) r r r r r � ErrorCode�
backend_errorr �
__classcell__)r&