o
    Ù_hM  ã                   @  sP   d dl mZ G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd	„ d	eƒZd
S )é    )Úannotationsc                   @  ó   e Zd ZdS )ÚUFOLibErrorN©Ú__name__Ú
__module__Ú__qualname__© r	   r	   úK/var/www/html/myenv/lib/python3.10/site-packages/fontTools/ufoLib/errors.pyr      ó    r   c                   @  r   )ÚUnsupportedUFOFormatNr   r	   r	   r	   r
   r      r   r   c                   @  s   e Zd ZdZd	dd„ZdS )
ÚGlifLibErrorzùAn error raised by glifLib.

    This class is a loose backport of PEP 678, adding a :attr:`.note`
    attribute that can hold additional context for errors encountered.

    It will be maintained until only Python 3.11-and-later are supported.
    ÚnoteÚstrÚreturnÚNonec                 C  s$   | j ^}}|d | g|¢R | _ d S )NÚ
)Úargs)Úselfr   ÚmessageÚrestr	   r	   r
   Ú	_add_note   s   
zGlifLibError._add_noteN)r   r   r   r   )r   r   r   Ú__doc__r   r	   r	   r	   r
   r      s    r   c                   @  r   )ÚUnsupportedGLIFFormatNr   r	   r	   r	   r
   r      r   r   N)Ú
__future__r   Ú	Exceptionr   r   r   r   r	   r	   r	   r
   Ú<module>   s
    