ó
Į£ō_c           @   sī  d  Z  d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d	 e f d
     YZ d e f d     YZ d e f d     YZ d e f d     YZ	 d e f d     YZ
 d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d      YZ d! e f d"     YZ d# e f d$     YZ d% e f d&     YZ d' e f d(     YZ d) e f d*     YZ d+ e f d,     YZ d- S(.   s   Certbot client errors.t   Errorc           B   s   e  Z d  Z RS(   s   Generic Certbot client error.(   t   __name__t
   __module__t   __doc__(    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR       s   t   AccountStorageErrorc           B   s   e  Z d  Z RS(   s    Generic `.AccountStorage` error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR      s   t   AccountNotFoundc           B   s   e  Z d  Z RS(   s   Account not found error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR      s   t   ReverterErrorc           B   s   e  Z d  Z RS(   s   Certbot Reverter error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR      s   t   SubprocessErrorc           B   s   e  Z d  Z RS(   s   Subprocess handling error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR      s   t   CertStorageErrorc           B   s   e  Z d  Z RS(   s   Generic `.CertStorage` error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR      s   t   HookCommandNotFoundc           B   s   e  Z d  Z RS(   s*   Failed to find a hook command in the PATH.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR	      s   t
   SignalExitc           B   s   e  Z d  Z RS(   sE   A Unix signal was received while in the ErrorHandler context manager.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR
       s   t   OverlappingMatchFoundc           B   s   e  Z d  Z RS(   s@   Multiple lineages matched what should have been a unique result.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   #   s   t	   LockErrorc           B   s   e  Z d  Z RS(   s   File locking error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   &   s   t   AuthorizationErrorc           B   s   e  Z d  Z RS(   s   Authorization error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   +   s   t   FailedChallengesc           B   s    e  Z d  Z d   Z d   Z RS(   se   Failed challenges error.

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

    c         C   s,   | s t   | |  _ t t |   j   d  S(   N(   t   AssertionErrort   failed_achallst   superR   t   __init__(   t   selfR   (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   5   s    	c         C   s#   d j  d j d   |  j D   S(   Ns#   Failed authorization procedure. {0}s   , c         s   s<   |  ]2 } | j  d k	 r d  j | j | j | j   Vq d S(   s   {0} ({1}): {2}N(   t   errort   Nonet   formatt   domaint   typ(   t   .0t   achall(    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pys	   <genexpr>=   s   (   R   t   joinR   (   R   (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyt   __str__:   s    (   R   R   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   /   s   	t   PluginErrorc           B   s   e  Z d  Z RS(   s   Certbot Plugin error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   B   s   t   PluginEnhancementAlreadyPresentc           B   s   e  Z d  Z RS(   s    Enhancement was already set (   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   F   s   t   PluginSelectionErrorc           B   s   e  Z d  Z RS(   s5   A problem with plugin/configurator selection or setup(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   J   s   t   NoInstallationErrorc           B   s   e  Z d  Z RS(   s   Certbot No Installation error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR    N   s   t   MisconfigurationErrorc           B   s   e  Z d  Z RS(   s   Certbot Misconfiguration error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR!   R   s   t   NotSupportedErrorc           B   s   e  Z d  Z RS(   s,   Certbot Plugin function not supported error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR"   V   s   t   PluginStorageErrorc           B   s   e  Z d  Z RS(   s   Certbot Plugin Storage error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR#   Z   s   t   StandaloneBindErrorc           B   s   e  Z d  Z d   Z RS(   s   Standalone plugin bind error.c         C   s8   t  t |   j d j | |   | |  _ | |  _ d  S(   Ns    Problem binding to port {0}: {1}(   R   R$   R   R   t   socket_errort   port(   R   R%   R&   (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR   a   s    	(   R   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR$   ^   s   t   ConfigurationErrorc           B   s   e  Z d  Z RS(   s   Configuration sanity error.(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR'   h   s   t   MissingCommandlineFlagc           B   s   e  Z d  Z RS(   s;   A command line argument was missing in noninteractive usage(   R   R   R   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyR(   m   s   N(   R   t	   ExceptionR    R   R   R   R   R   R	   R
   R   R   R   R   R   R   R   R    R!   R"   R#   R$   R'   R(   (    (    (    s2   /usr/lib/python2.7/site-packages/certbot/errors.pyt   <module>   s,   
