mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
feat: Add embedding exceptions module
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
5
src/crewai/utilities/exceptions/__init__.py
Normal file
5
src/crewai/utilities/exceptions/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
"""Exceptions module for crewAI utilities."""
|
||||
|
||||
from .embedding_exceptions import EmbeddingConfigurationError, EmbeddingProviderError
|
||||
|
||||
__all__ = ["EmbeddingConfigurationError", "EmbeddingProviderError"]
|
||||
9
src/crewai/utilities/exceptions/embedding_exceptions.py
Normal file
9
src/crewai/utilities/exceptions/embedding_exceptions.py
Normal 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
|
||||
Reference in New Issue
Block a user