mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 23:32:39 +00:00
Squashed 'packages/tools/' content from commit 78317b9c
git-subtree-dir: packages/tools git-subtree-split: 78317b9c127f18bd040c1d77e3c0840cdc9a5b38
This commit is contained in:
17
crewai_tools/aws/bedrock/exceptions.py
Normal file
17
crewai_tools/aws/bedrock/exceptions.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Custom exceptions for AWS Bedrock integration."""
|
||||
|
||||
class BedrockError(Exception):
|
||||
"""Base exception for Bedrock-related errors."""
|
||||
pass
|
||||
|
||||
class BedrockAgentError(BedrockError):
|
||||
"""Exception raised for errors in the Bedrock Agent operations."""
|
||||
pass
|
||||
|
||||
class BedrockKnowledgeBaseError(BedrockError):
|
||||
"""Exception raised for errors in the Bedrock Knowledge Base operations."""
|
||||
pass
|
||||
|
||||
class BedrockValidationError(BedrockError):
|
||||
"""Exception raised for validation errors in Bedrock operations."""
|
||||
pass
|
||||
Reference in New Issue
Block a user