Exception raised when the user makes an error using the SDK.
| 87 | |
| 88 | |
| 89 | class UserError(AgentsException): |
| 90 | """Exception raised when the user makes an error using the SDK.""" |
| 91 | |
| 92 | message: str |
| 93 | |
| 94 | def __init__(self, message: str): |
| 95 | self.message = message |
| 96 | super().__init__(message) |
| 97 | |
| 98 | |
| 99 | class MCPToolCancellationError(AgentsException): |
no outgoing calls