Source code for deepparse.errors.model_error

[docs] class FastTextModelError(Exception): """ User error occurs when a user uses a FastText-like model on an OS that does not correctly support multithreading. """ def __init__(self, value: str) -> None: super().__init__() self.value = value def __str__(self) -> str: return repr(self.value) # pragma: no cover