Exception raised when an action fails to execute.
| 27 | |
| 28 | |
| 29 | class ActionExecutionException(CopilotKitError): |
| 30 | """Exception raised when an action fails to execute.""" |
| 31 | |
| 32 | def __init__(self, name: str, error: Exception): |
| 33 | self.name = name |
| 34 | self.error = error |
| 35 | super().__init__(f"Action '{name}' failed to execute: {error}") |
| 36 | |
| 37 | |
| 38 | class AgentExecutionException(CopilotKitError): |
no outgoing calls
no test coverage detected
searching dependent graphs…