API Reference
Classes:
Name | Description |
---|---|
AgentNotFoundError |
Exception raised when an agent is not found in the registry. |
InvalidPayloadError |
Exception raised when an invalid payload is provided to an agent. |
AgentNotFoundError
Exception raised when an agent is not found in the registry.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
agent_name
|
str
|
The name of the agent that was not found. |
required |
Returns:
Name | Type | Description |
---|---|---|
AgentNotFoundError |
An instance of the AgentNotFoundError exception. |
InvalidPayloadError
Exception raised when an invalid payload is provided to an agent.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message
|
str
|
The error message to display. Defaults to "Invalid payload provided". |
'Invalid payload provided'
|
Returns:
Name | Type | Description |
---|---|---|
InvalidPayloadError |
An instance of the InvalidPayloadError exception. |