Exception raised when an agent fails to execute.
| 36 | |
| 37 | |
| 38 | class AgentExecutionException(CopilotKitError): |
| 39 | """Exception raised when an agent fails to execute.""" |
| 40 | |
| 41 | def __init__(self, name: str, error: Exception): |
| 42 | self.name = name |
| 43 | self.error = error |
| 44 | super().__init__(f"Agent '{name}' failed to execute: {error}") |
| 45 | |
| 46 | |
| 47 | class CopilotKitMisuseError(CopilotKitError, ValueError): |
no outgoing calls
no test coverage detected
searching dependent graphs…