ok

Mini Shell

Direktori : /lib/python3.6/site-packages/certbot/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/certbot/__pycache__/errors.cpython-36.pyc

3

گa�
�@s�dZddlmZddlmZer,ddlmZGdd�de�ZGdd�de�ZGd	d
�d
e�Z	Gdd�de�Z
Gd
d�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZGd%d&�d&e�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�ZGd-d.�d.e�ZGd/d0�d0e�Zd1S)2zCertbot client errors.�)�Set)�
TYPE_CHECKING)�AnnotatedChallengec@seZdZdZdS)�ErrorzGeneric Certbot client error.N)�__name__�
__module__�__qualname__�__doc__�r
r
�/usr/lib/python3.6/errors.pyr	src@seZdZdZdS)�AccountStorageErrorz Generic `.AccountStorage` error.N)rrrr	r
r
r
rr
src@seZdZdZdS)�AccountNotFoundzAccount not found error.N)rrrr	r
r
r
rr
sr
c@seZdZdZdS)�
ReverterErrorzCertbot Reverter error.N)rrrr	r
r
r
rrsrc@seZdZdZdS)�SubprocessErrorzSubprocess handling error.N)rrrr	r
r
r
rrsrc@seZdZdZdS)�CertStorageErrorzGeneric `.CertStorage` error.N)rrrr	r
r
r
rrsrc@seZdZdZdS)�HookCommandNotFoundz*Failed to find a hook command in the PATH.N)rrrr	r
r
r
rr!src@seZdZdZdS)�
SignalExitzEA Unix signal was received while in the ErrorHandler context manager.N)rrrr	r
r
r
rr%src@seZdZdZdS)�OverlappingMatchFoundz@Multiple lineages matched what should have been a unique result.N)rrrr	r
r
r
rr(src@seZdZdZdS)�	LockErrorzFile locking error.N)rrrr	r
r
r
rr+src@seZdZdZdS)�AuthorizationErrorzAuthorization error.N)rrrr	r
r
r
rr0srcs:eZdZdZeddd��fdd�Zed�dd	�Z�ZS)
�FailedChallengeszeFailed challenges error.

    :ivar set failed_achalls: Failed `.AnnotatedChallenge` instances.

    rN)�failed_achalls�returncs|st�||_t�j�dS)N)�AssertionErrorr�super�__init__)�selfr)�	__class__r
rr:szFailedChallenges.__init__)rcCsdjdjdd�|jD���S)Nz#Failed authorization procedure. {0}z, css,|]$}|jdk	rdj|j|j|j�VqdS)Nz{0} ({1}): {2})�error�formatZdomain�typ)�.0Zachallr
r
r�	<genexpr>Bsz+FailedChallenges.__str__.<locals>.<genexpr>)r�joinr)rr
r
r�__str__?szFailedChallenges.__str__)	rrrr	rr�strr$�
__classcell__r
r
)rrr4src@seZdZdZdS)�PluginErrorzCertbot Plugin error.N)rrrr	r
r
r
rr'Gsr'c@seZdZdZdS)�PluginEnhancementAlreadyPresentz Enhancement was already set N)rrrr	r
r
r
rr(Ksr(c@seZdZdZdS)�PluginSelectionErrorz5A problem with plugin/configurator selection or setupN)rrrr	r
r
r
rr)Osr)c@seZdZdZdS)�NoInstallationErrorzCertbot No Installation error.N)rrrr	r
r
r
rr*Ssr*c@seZdZdZdS)�MisconfigurationErrorzCertbot Misconfiguration error.N)rrrr	r
r
r
rr+Wsr+c@seZdZdZdS)�NotSupportedErrorz,Certbot Plugin function not supported error.N)rrrr	r
r
r
rr,[sr,c@seZdZdZdS)�PluginStorageErrorzCertbot Plugin Storage error.N)rrrr	r
r
r
rr-_sr-cs*eZdZdZeedd��fdd�Z�ZS)�StandaloneBindErrorzStandalone plugin bind error.N)�socket_error�portrcs$t�jdj||��||_||_dS)Nz Problem binding to port {0}: {1})rrrr/r0)rr/r0)rr
rrfszStandaloneBindError.__init__)rrrr	�OSError�intrr&r
r
)rrr.csr.c@seZdZdZdS)�ConfigurationErrorzConfiguration sanity error.N)rrrr	r
r
r
rr3msr3c@seZdZdZdS)�MissingCommandlineFlagz;A command line argument was missing in noninteractive usageN)rrrr	r
r
r
rr4rsr4N)r	ZtypingrrZcertbot.achallengesr�	Exceptionrrr
rrrrrrrrrr'r(r)r*r+r,r-r.r3r4r
r
r
r�<module>s4


Zerion Mini Shell 1.0