clairic / clairic_runtime /errors.py
areneau's picture
Add complete Clairic Transformers package
f65336d verified
Raw History Blame Contribute Delete
257 Bytes
class ClairRequestError(ValueError):
"""A request the model cannot serve, such as an invalid field spec or a schema that leaves no room for the state."""
class ClairQueueFull(RuntimeError):
pass
class ClairInferenceError(RuntimeError):
pass