Agent Generators Service Errors¶
consortium.server.exceptions.service_exceptions.agent_generators_service_exceptions
¶
Exception hierarchy:
AgentGeneratorsServiceError(message='', detail=None)
¶
Bases: BaseServiceError
Base exception for all errors that occur within the agent generators service.
Attributes:
| Name | Type | Description |
|---|---|---|
code |
A stable machine-readable string identifying the specific error. |
|
message |
str
|
A human-readable description of what went wrong and, where possible, how to resolve it. |
detail |
dict[str, JsonValue] | None
|
Optional structured context about the error, or None when there is none. |
code = 'AGENT_GENERATORS_SERVICE_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorNotFoundError(agent_generator_id)
¶
Bases: AgentGeneratorsServiceError
Raised when the requested agent generator was not found in the agent generators service.
code = 'AGENT_GENERATOR_NOT_FOUND_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorAlreadyExistsError(agent_generator_id)
¶
Bases: AgentGeneratorsServiceError
Raised when an agent generator with the provided agent generator ID already exists in the agent generators service.
code = 'AGENT_GENERATOR_ALREADY_EXISTS_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorParameterUpdateError(message='', detail=None)
¶
Bases: AgentGeneratorsServiceError
Base exception for agent generator parameter update errors.
code = 'AGENT_GENERATOR_PARAMETER_UPDATE_ERROR'
class-attribute
instance-attribute
¶
InvalidAgentGeneratorParameterNameError(agent_generator_str, parameter_name)
¶
Bases: AgentGeneratorParameterUpdateError
Raised when the provided parameter name was not found on the agent generator during a parameter update.
code = 'INVALID_AGENT_GENERATOR_PARAMETER_NAME_ERROR'
class-attribute
instance-attribute
¶
InvalidAgentGeneratorParameterValueError(agent_generator_str, parameter_name, parameter_value, error_message)
¶
Bases: AgentGeneratorParameterUpdateError
Raised when the provided value for an agent generator parameter is invalid during a parameter update.