Your IP : 216.73.216.52


Current Path : /snap/certbot/current/lib64/python3.12/site-packages/certbot/__pycache__/
Upload File :
Current File : //snap/certbot/current/lib64/python3.12/site-packages/certbot/__pycache__/errors.cpython-312.pyc

�

uI�i�
���dZddlmZerddlmZGd�de�ZGd�de�ZGd�d	e�ZGd
�de�Z	Gd�d
e�Z
Gd�de�ZGd�de�ZGd�de�Z
Gd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd �d!e�ZGd"�d#e�ZGd$�d%e�ZGd&�d'e�ZGd(�d)e�ZGd*�d+e�ZGd,�d-e�ZGd.�d/e�Zy0)1zCertbot client errors.�)�
TYPE_CHECKING)�AnnotatedChallengec��eZdZdZy)�ErrorzGeneric Certbot client error.N��__name__�
__module__�__qualname__�__doc__���~/build/snapcraft-certbot-53a6961353a63169611ae8a78f6bfa4f/parts/certbot/install/lib/python3.12/site-packages/certbot/errors.pyrr���'r
rc��eZdZdZy)�AccountStorageErrorz Generic `.AccountStorage` error.Nrrr
rrrs��*r
rc��eZdZdZy)�AccountNotFoundzAccount not found error.Nrrr
rrrs��"r
rc��eZdZdZy)�
ReverterErrorzCertbot Reverter error.Nrrr
rrrs��!r
rc��eZdZdZy)�SubprocessErrorzSubprocess handling error.Nrrr
rrrs��$r
rc��eZdZdZy)�CertStorageErrorzGeneric `.CertStorage` error.Nrrr
rrrrr
rc��eZdZdZy)�HookCommandNotFoundz*Failed to find a hook command in the PATH.Nrrr
rrr s��4r
rc��eZdZdZy)�
SignalExitzEA Unix signal was received while in the ErrorHandler context manager.Nrrr
rrr$s��Or
rc��eZdZdZy)�OverlappingMatchFoundz@Multiple lineages matched what should have been a unique result.Nrrr
rrr's��Jr
rc��eZdZdZy)�	LockErrorzFile locking error.Nrrr
rr!r!*s��r
r!c��eZdZdZy)�AuthorizationErrorzAuthorization error.Nrrr
rr#r#/s��r
r#c�>��eZdZdZdedddf�fd�Zdefd�Z�xZS)�FailedChallengeszeFailed challenges error.

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

    �failed_achallsr�returnNc�8��|sJ�||_t�|�	�y)N)r&�super�__init__)�selfr&�	__class__s  �rr*zFailedChallenges.__init__9s�����~�,���
���r
c�d�djdjd�|jD���S)Nz#Failed authorization procedure. {0}z, c3�K�|]K}|j�=dj|jj|j|j����My�w)Nz{0} ({1}): {2})�error�format�
identifier�value�typ)�.0�achalls  r�	<genexpr>z+FailedChallenges.__str__.<locals>.<genexpr>@sF����O��V�\�\�5M�!�'�'��(9�(9�(?�(?����V�\�\�Z�O�s�AA)r0�joinr&)r+s r�__str__zFailedChallenges.__str__>s9��4�;�;��I�I�O�"�1�1�O�
O�P�	Pr
)	rr	r
r�setr*�strr8�
__classcell__�r,s@rr%r%3s/����
�s�+?�'@��T��
P��Pr
r%c��eZdZdZy)�PluginErrorzCertbot Plugin error.Nrrr
rr>r>Fs��r
r>c��eZdZdZy)�PluginEnhancementAlreadyPresentz Enhancement was already set Nrrr
rr@r@Jrr
r@c��eZdZdZy)�PluginSelectionErrorz5A problem with plugin/configurator selection or setupNrrr
rrBrBNs��?r
rBc��eZdZdZy)�NoInstallationErrorzCertbot No Installation error.Nrrr
rrDrDRs��(r
rDc��eZdZdZy)�MisconfigurationErrorzCertbot Misconfiguration error.Nrrr
rrFrFVs��)r
rFc��eZdZdZy)�NotSupportedErrorz,Certbot Plugin function not supported error.Nrrr
rrHrHZs��6r
rHc��eZdZdZy)�PluginStorageErrorzCertbot Plugin Storage error.Nrrr
rrJrJ^rr
rJc�0��eZdZdZdededdf�fd�Z�xZS)�StandaloneBindErrorzStandalone plugin bind error.�socket_error�portr'Nc�`��t�|�dj||��||_||_y)Nz Problem binding to port {0}: {1})r)r*r0rMrN)r+rMrNr,s   �rr*zStandaloneBindError.__init__es0���
���.�5�5�d�L�I�	K�(�����	r
)rr	r
r�OSError�intr*r;r<s@rrLrLbs%���'��W��C��D��r
rLc��eZdZdZy)�ConfigurationErrorzConfiguration sanity error.Nrrr
rrSrSls��%r
rSc��eZdZdZy)�MissingCommandlineFlagz;A command line argument was missing in noninteractive usageNrrr
rrUrUqs��Er
rUN)r�typingr�certbot.achallengesr�	Exceptionrrrrrrrrrr!r#r%r>r@rBrDrFrHrJrLrSrUrr
r�<module>rYs%��� ��6�(�I�(�+�%�+�#�)�#�"�E�"�%�e�%�(�u�(�5�%�5�P��P�K�E�K����
���P�)�P�& �%� �(�e�(�@�5�@�)�+�)�*�K�*�7��7�(��(��%��&��&�
F�U�Fr