U
    æ‹Ñhˆ  ã                   @   s$   G d d„ de ƒZG dd„ deƒZdS )c                   @   s   e Zd Zddd„Zdd„ ZdS )ÚFeatureLibErrorNc                 C   s   t  | |¡ || _d S )N)Ú	ExceptionÚ__init__Úlocation)ÚselfÚmessager   © r   úD/tmp/user/2202/pip-unpacked-wheel-pq9wd1e4/fontTools/feaLib/error.pyr      s    zFeatureLibError.__init__c                 C   s(   t  | ¡}| jr | j› d|› �S |S d S )Nú: )r   Ú__str__r   ©r   r   r   r   r   r
      s    
zFeatureLibError.__str__)N)Ú__name__Ú
__module__Ú__qualname__r   r
   r   r   r   r   r      s   
r   c                   @   s   e Zd Zdd„ ZdS )ÚIncludedFeaNotFoundc                 C   s.   | j d k	st‚dt | ¡› �}| j › d|› �S )NzCThe following feature file should be included but cannot be found: r	   )r   ÚAssertionErrorr   r
   r   r   r   r   r
      s    ÿzIncludedFeaNotFound.__str__N)r   r   r   r
   r   r   r   r   r      s   r   N)r   r   r   r   r   r   r   Ú<module>   s   