Files
agent-framework/python/agent_framework/exceptions.py
T
Dmytro Struk 35c938fb5b .Python: Added Agent and AgentThread abstractions (#130)
* Added Agent and AgentThread classes

* Addressed PR feedback

* Converted Agent to protocol

* Removed thread deletion logic

* Small update

* Small updates to the Agent protocol
2025-07-07 17:47:14 +00:00

20 lines
382 B
Python

# Copyright (c) Microsoft. All rights reserved.
class AgentFrameworkException(Exception):
"""Base class for exceptions in the Agent Framework."""
pass
class AgentException(AgentFrameworkException):
"""Base class for all agent exceptions."""
pass
class AgentExecutionException(AgentException):
"""An error occurred while executing the agent."""
pass