o
    ¼Çh‹  ã                   @   s   G d d„ de ƒZdS )c                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚVoltLibErrorc                 C   s   t  | |¡ || _d S )N)Ú	ExceptionÚ__init__Úlocation)ÚselfÚmessager   © r   úk/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/fontTools/voltLib/error.pyr      s   
zVoltLibError.__init__c                 C   s0   t  | ¡}| jr| j\}}}d||||f S |S )Nz%s:%d:%d: %s)r   Ú__str__r   )r   r   ÚpathÚlineÚcolumnr   r   r   r	      s
   
zVoltLibError.__str__N)Ú__name__Ú
__module__Ú__qualname__r   r	   r   r   r   r   r      s    r   N)r   r   r   r   r   r   Ú<module>   s    