Source code for ufoLib2.errors
from __future__ import annotations
from typing import Any
[docs]
class ExtrasNotInstalledError(Error):
"""The extras required for this feature are not installed."""
def __init__(self, extras: str) -> None:
super().__init__(f"Extras not installed: ufoLib2[{extras}]")
def __call__(self, *args: Any, **kwargs: Any) -> None:
raise self