Agent Generators Framework Errors¶
consortium.framework._core.framework_exceptions.agent_generators_framework_exceptions
¶
AgentGeneratorsFrameworkError(message=None, detail=None, **kwargs)
¶
Bases: ComponentsFrameworkError
Base exception for all errors that occur within the agent generators framework.
code = 'AGENT_GENERATORS_FRAMEWORK_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorConfigurationError(message=None, detail=None, **kwargs)
¶
Bases: AgentGeneratorsFrameworkError
Base exception for agent generator configuration errors.
code = 'AGENT_GENERATOR_CONFIGURATION_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorConfigurationParameterTypeError(agent_generator_filepath=None, parameter_name=None, parameter_type=None)
¶
Bases: AgentGeneratorConfigurationError
Raised when an agent generator's configuration parameter is not of the expected type during agent generator configuration.
code = 'AGENT_GENERATOR_CONFIGURATION_PARAMETER_TYPE_ERROR'
class-attribute
instance-attribute
¶
MissingAgentGeneratorConfigurationParameterError(parameter_name, agent_generator_filepath)
¶
Bases: AgentGeneratorConfigurationError
Raised when a required parameter is not declared in an agent generator's definition during agent generator configuration.
code = 'MISSING_AGENT_GENERATOR_CONFIGURATION_PARAMETER_ERROR'
class-attribute
instance-attribute
¶
DuplicateAgentGeneratorBuildStepNameError(agent_generator_filepath, agent_generator_build_step_name)
¶
Bases: AgentGeneratorConfigurationError
Raised when a duplicate name is provided in the list of defined agent generator build steps for a particular agent generator.
code = 'DUPLICATE_AGENT_GENERATOR_BUILD_STEP_NAME_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorOverridesFinalMethodError(agent_generator_filepath, method_name)
¶
Bases: AgentGeneratorConfigurationError
Raised when an agent generator's implementation overrides a final method during agent generator configuration.
AgentGeneratorBuildStepConfigurationError(message=None, detail=None, **kwargs)
¶
Bases: AgentGeneratorsFrameworkError
Base exception for agent generator build step configuration errors.
code = 'AGENT_GENERATOR_BUILD_STEP_CONFIGURATION_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorBuildStepConfigurationParameterTypeError(agent_generator_build_step_str=None, parameter_name=None, parameter_type=None, error_message='')
¶
Bases: AgentGeneratorBuildStepConfigurationError
Raised when an agent generator build step's configuration parameter is not of the expected type during agent generator build step configuration.
code = 'AGENT_GENERATOR_BUILD_STEP_CONFIGURATION_PARAMETER_TYPE_ERROR'
class-attribute
instance-attribute
¶
RequiredAgentGeneratorBuildStepConfigurationParameterNotDeclaredError(agent_generator_build_step_str, parameter_name)
¶
Bases: AgentGeneratorBuildStepConfigurationError
Raised when a required parameter is not declared in an agent generator build step's definition during agent generator build step configuration.
code = 'REQUIRED_AGENT_GENERATOR_BUILD_STEP_CONFIGURATION_PARAMETER_NOT_DECLARED_ERROR'
class-attribute
instance-attribute
¶
MissingAgentGeneratorBuildStepConfigurationParameterError(parameter_name, agent_generator_build_step_filepath)
¶
Bases: AgentGeneratorConfigurationError
Raised when a required parameter is not declared in an agent generator build step's definition during agent generator build step configuration.
code = 'MISSING_AGENT_GENERATOR_BUILD_STEP_CONFIGURATION_PARAMETER_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorBuildStepOverridesFinalMethodError(agent_generator_build_step_filepath, method_name)
¶
Bases: AgentGeneratorConfigurationError
Raised when an agent generator build step's implementation overrides a final method during agent generator build step configuration.
AgentGeneratorCreationError(message=None, detail=None, **kwargs)
¶
Bases: AgentGeneratorsFrameworkError
Base exception for agent generator creation errors.
code = 'AGENT_GENERATOR_CREATION_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorCreationParameterTypeError(agent_generator_str, parameter_name=None, parameter_type=None, error_message='')
¶
Bases: AgentGeneratorCreationError
Raised when a provided agent generator parameter is not of the expected type during agent generator creation.
code = 'AGENT_GENERATOR_CREATION_PARAMETER_TYPE_ERROR'
class-attribute
instance-attribute
¶
EmptyAgentGeneratorBuildStepNameError(agent_generator_build_step_filepath)
¶
Bases: AgentGeneratorBuildStepConfigurationError
Raised when an empty name is provided in an agent generator build step's definition during agent generator build step configuration.
code = 'EMPTY_AGENT_GENERATOR_BUILD_STEP_NAME_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorOperationError(message=None, detail=None, **kwargs)
¶
Bases: ComponentOperationError, AgentGeneratorsFrameworkError
Base exception for all errors that occur during the operation of a particular agent generator.
code = 'AGENT_GENERATOR_OPERATION_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorStartError(component_str, error_message, detail)
¶
Bases: ComponentStartError, AgentGeneratorOperationError
Raised when an agent generator fails to start during agent generator operation.
code = 'AGENT_GENERATOR_START_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorRuntimeError(component_str, error_message, detail)
¶
Bases: ComponentRuntimeError, AgentGeneratorOperationError
Raised when an agent generator encounters an unhandled error at runtime during agent generator operation.
code = 'AGENT_GENERATOR_RUNTIME_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorBuildStepRuntimeError(component_str, error_message, detail)
¶
Bases: ComponentRuntimeError, AgentGeneratorOperationError
Raised when an agent generator build step encounters an unhandled error at runtime during agent generator operation.
code = 'AGENT_GENERATOR_BUILD_STEP_RUNTIME_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorStopError(component_str, error_message, detail)
¶
Bases: ComponentStopError, AgentGeneratorOperationError
Raised when an agent generator fails to stop during agent generator operation.
code = 'AGENT_GENERATOR_STOP_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorFatalError(component_str, operation, phase, underlying_exception)
¶
Bases: ComponentFatalError, AgentGeneratorOperationError
Raised when an unhandled exception escapes one of an agent generator's life cycle hooks, terminating the agent generator fatally during agent generator operation.
AgentGeneratorBuildStepFatalError(component_str, operation, phase, underlying_exception)
¶
Bases: ComponentFatalError, AgentGeneratorOperationError
Raised when an unhandled exception escapes one of an agent generator build step's life cycle hooks, terminating the build step fatally during agent generator operation.
AgentGeneratorStateError(message=None, detail=None, **kwargs)
¶
Bases: ComponentStateError, AgentGeneratorsFrameworkError
Base exception for all errors that occur due to invalid status transitions or operations performed on an agent generator in an invalid status.
code = 'AGENT_GENERATOR_STATE_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorNotRunningError(component_str)
¶
Bases: ComponentNotRunningError, AgentGeneratorStateError
Raised when an operation is attempted on an agent generator that requires the agent generator to already be running but the agent generator is not running.
code = 'AGENT_GENERATOR_NOT_RUNNING_ERROR'
class-attribute
instance-attribute
¶
AgentGeneratorAlreadyRunningError(component_str)
¶
Bases: ComponentAlreadyRunningError, AgentGeneratorStateError
Raised when an operation is attempted on an agent generator that requires the agent generator to not already be started or running but the agent generator is already started or running.