"""Custom exceptions and error handlers.""" class AgentError(Exception): pass class ToolError(Exception): pass