Home
last modified time | relevance | path

Searched refs:ColorLibError (Results 1 – 3 of 3) sorted by relevance

/external/fonttools/Lib/fontTools/colorLib/
Dbuilder.py33 from .errors import ColorLibError
340 raise ColorLibError("color palettes have different lengths")
355 raise ColorLibError(
359 raise ColorLibError(
374 raise ColorLibError(
385 raise ColorLibError(
394 raise ColorLibError(
651 except (ColorLibError, OverflowError, ValueError, TypeError) as e:
656 exc = ColorLibError(f"Failed to build BaseGlyphList:\n{failed_glyphs}")
Derrors.py1 class ColorLibError(Exception): class
/external/fonttools/Tests/colorLib/
Dbuilder_test.py8 from fontTools.colorLib.errors import ColorLibError
101 with pytest.raises(ColorLibError, match="have different lengths"):
200 with pytest.raises(ColorLibError, match="Expected 2 paletteTypes, got 1"):
203 with pytest.raises(ColorLibError, match="Expected 2 paletteLabels, got 1"):
210 with pytest.raises(ColorLibError, match="Expected 1 paletteEntryLabels, got 0"):
220 ColorLibError,
226 ColorLibError,