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	   Y/var/www/html/optinet_system/venv/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 )
GlifLibErrorzAn 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
    