feat: Add embedding exceptions module

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-02-09 23:26:10 +00:00
parent d56523a01a
commit 4bee02e7f2
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
"""Exceptions module for crewAI utilities."""
from .embedding_exceptions import EmbeddingConfigurationError, EmbeddingProviderError
__all__ = ["EmbeddingConfigurationError", "EmbeddingProviderError"]

View File

@@ -0,0 +1,9 @@
"""Exceptions related to embedding functionality."""
class EmbeddingConfigurationError(Exception):
"""Raised when there is an error in the embedding configuration."""
pass
class EmbeddingProviderError(Exception):
"""Raised when there is an error with the embedding provider."""
pass