Source code for smarter.apps.llm_client.tasks.exceptions

"""Celery task exceptions for llm_client app."""

from smarter.apps.llm_client.exceptions import SmarterLLMClientException


[docs] class LLMClientCustomDomainNotFound(SmarterLLMClientException): """Raised when the custom domain for the llm_client is not found."""
[docs] class LLMClientCustomDomainExists(SmarterLLMClientException): """Raised when the custom domain for the llm_client already exists."""
[docs] class LLMClientTaskError(SmarterLLMClientException): """Base class for LLMClient task exceptions."""