ok
Direktori : /lib/python3.6/site-packages/certbot/__pycache__/ |
Current File : //lib/python3.6/site-packages/certbot/__pycache__/errors.cpython-36.pyc |
3 گa� � @ s� d Z ddlmZ ddlmZ er,ddlmZ G dd� de�ZG dd� de�ZG d d � d e�Z G dd� de�Z G d d� de�ZG dd� de�ZG dd� de�Z G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d!d"� d"e�ZG d#d$� d$e�ZG d%d&� d&e�ZG d'd(� d(e�ZG d)d*� d*e�ZG d+d,� d,e�ZG d-d.� d.e�ZG d/d0� d0e�Zd1S )2zCertbot client errors.� )�Set)� TYPE_CHECKING)�AnnotatedChallengec @ s e Zd ZdZdS )�ErrorzGeneric Certbot client error.N)�__name__� __module__�__qualname__�__doc__� r r �/usr/lib/python3.6/errors.pyr s r c @ s e Zd ZdZdS )�AccountStorageErrorz Generic `.AccountStorage` error.N)r r r r r r r r r s r c @ s e Zd ZdZdS )�AccountNotFoundzAccount not found error.N)r r r r r r r r r s r c @ s e Zd ZdZdS )� ReverterErrorzCertbot Reverter error.N)r r r r r r r r r s r c @ s e Zd ZdZdS )�SubprocessErrorzSubprocess handling error.N)r r r r r r r r r s r c @ s e Zd ZdZdS )�CertStorageErrorzGeneric `.CertStorage` error.N)r r r r r r r r r s r c @ s e Zd ZdZdS )�HookCommandNotFoundz*Failed to find a hook command in the PATH.N)r r r r r r r r r ! s r c @ s e Zd ZdZdS )� SignalExitzEA Unix signal was received while in the ErrorHandler context manager.N)r r r r r r r r r % s r c @ s e Zd ZdZdS )�OverlappingMatchFoundz@Multiple lineages matched what should have been a unique result.N)r r r r r r r r r ( s r c @ s e Zd ZdZdS )� LockErrorzFile locking error.N)r r r r r r r r r + s r c @ s e Zd ZdZdS )�AuthorizationErrorzAuthorization error.N)r r r r r r r r r 0 s r c s: e Zd ZdZed dd�� fdd�Zed�dd �Z� ZS ) �FailedChallengeszeFailed challenges error. :ivar set failed_achalls: Failed `.AnnotatedChallenge` instances. r N)�failed_achalls�returnc s |st �|| _t� j� d S )N)�AssertionErrorr �super�__init__)�selfr )� __class__r r r : s zFailedChallenges.__init__)r c C s dj djdd� | jD ���S )Nz#Failed authorization procedure. {0}z, c s s, | ]$}|j d k rdj|j|j|j �V qd S )Nz{0} ({1}): {2})�error�formatZdomain�typ)�.0Zachallr r r � <genexpr>B s z+FailedChallenges.__str__.<locals>.<genexpr>)r �joinr )r r r r �__str__? s zFailedChallenges.__str__) r r r r r r �strr$ � __classcell__r r )r r r 4 s r c @ s e Zd ZdZdS )�PluginErrorzCertbot Plugin error.N)r r r r r r r r r'