ó
j4Vdc           @   s6   d  Z  d e f d „  ƒ  YZ d e f d „  ƒ  YZ d S(   s¦   
Custom Fabric exception classes.

Most are simply distinct Exception subclasses for purposes of message-passing
(though typically still in actual error situations.)
t   NetworkErrorc           B   s)   e  Z d d d  „ Z d „  Z d „  Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   t   messaget   wrapped(   t   selfR   R   (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyt   __init__   s    	c         C   s   |  j  p d S(   Nt    (   R   (   R   (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyt   __str__   s    c         C   s   d |  j  j |  j |  j f S(   Ns   %s(%s) => %r(   t	   __class__t   __name__R   R   (   R   (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyt   __repr__   s    N(   R   t
   __module__t   NoneR   R   R	   (    (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyR    	   s   	t   CommandTimeoutc           B   s   e  Z d  „  Z RS(   c         C   s6   | |  _  d | } | |  _ t t |  ƒ j | ƒ d  S(   Ns&   Command failed to finish in %s seconds(   t   timeoutR   t   superR   R   (   R   R   R   (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyR      s    	
	(   R   R
   R   (    (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyR      s   N(   t   __doc__t	   ExceptionR    R   (    (    (    s_   /var/www/html/phendo-backend/phendo_python/env/lib/python2.7/site-packages/fabric/exceptions.pyt   <module>   s   