o
    ïØ{fá  ã                   @   sX   d dl mZmZmZ eZddgZd dlmZ eƒ Z	G dd„ de
ƒZG dd„ deeƒZdS )é    )Úabsolute_importÚprint_functionÚunicode_literalsÚComputerJanitorExceptionÚUnimplementedMethod)Úsetup_gettextc                   @   s   e Zd ZdZdS )r   z/Base class for all Computer Janitor exceptions.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   ú?/usr/lib/python3/dist-packages/janitor/plugincore/exceptions.pyr      s    c                   @   s    e Zd ZdZdd„ Zdd„ ZdS )r   z?A method expected by the Computer Janitor API is unimplemented.c                 C   s
   || _ d S )N)Ú_method)ÚselfÚmethodr   r   r   Ú__init__%   s   
zUnimplementedMethod.__init__c                 C   s   t dƒ| jj S )NzUnimplemented method: %s)Ú_r   r   )r   r   r   r   Ú__str__(   s   zUnimplementedMethod.__str__N)r   r	   r
   r   r   r   r   r   r   r   r   "   s    N)Ú
__future__r   r   r   ÚtypeÚ__metaclass__Ú__all__Újanitor.plugincore.i18nr   r   Ú	Exceptionr   ÚNotImplementedErrorr   r   r   r   r   Ú<module>   s   þ