Skip to content

Exceptions

AgentError

Bases: Exception

Base exception for agent-related errors

Source code in Docs2KG/agents/exceptions.py
1
2
3
4
class AgentError(Exception):
    """Base exception for agent-related errors"""

    pass

ConfigurationError

Bases: AgentError

Raised when there's an error in agent configuration

Source code in Docs2KG/agents/exceptions.py
13
14
15
16
class ConfigurationError(AgentError):
    """Raised when there's an error in agent configuration"""

    pass

InvalidAgentType

Bases: AgentError

Raised when an invalid agent type is specified

Source code in Docs2KG/agents/exceptions.py
 7
 8
 9
10
class InvalidAgentType(AgentError):
    """Raised when an invalid agent type is specified"""

    pass