errors: Exceptions for handling UFO-specific errors

exception fontTools.ufoLib.errors.UFOLibError[source]

Bases: Exception

exception fontTools.ufoLib.errors.UnsupportedUFOFormat[source]

Bases: UFOLibError

exception fontTools.ufoLib.errors.GlifLibError[source]

Bases: UFOLibError

An error raised by glifLib.

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

It will be maintained until only Python 3.11-and-later are supported.

exception fontTools.ufoLib.errors.UnsupportedGLIFFormat[source]

Bases: GlifLibError