pub enum AgentOsBuildError {
Show 21 variants
Agents(AgentRegistryError),
Bundle(BundleComposeError),
Tools(ToolRegistryError),
Behaviors(BehaviorRegistryError),
Providers(ProviderRegistryError),
Models(ModelRegistryError),
AgentCatalog(AgentCatalogError),
Skills(SkillError),
SkillRegistry(SkillRegistryError),
SkillRegistryManager(SkillRegistryManagerError),
StopPolicies(StopPolicyRegistryError),
AgentEmptyBehaviorRef {
agent_id: String,
},
AgentReservedBehaviorId {
agent_id: String,
behavior_id: String,
},
AgentBehaviorNotFound {
agent_id: String,
behavior_id: String,
},
AgentDuplicateBehaviorRef {
agent_id: String,
behavior_id: String,
},
AgentEmptyStopConditionRef {
agent_id: String,
},
AgentStopConditionNotFound {
agent_id: String,
stop_condition_id: String,
},
AgentDuplicateStopConditionRef {
agent_id: String,
stop_condition_id: String,
},
ProvidersNotConfigured,
ProviderNotFound {
provider_id: String,
model_id: String,
},
SkillsNotConfigured,
}Variants§
Agents(AgentRegistryError)
Bundle(BundleComposeError)
Tools(ToolRegistryError)
Behaviors(BehaviorRegistryError)
Providers(ProviderRegistryError)
Models(ModelRegistryError)
AgentCatalog(AgentCatalogError)
Skills(SkillError)
SkillRegistry(SkillRegistryError)
SkillRegistryManager(SkillRegistryManagerError)
StopPolicies(StopPolicyRegistryError)
AgentEmptyBehaviorRef
AgentReservedBehaviorId
AgentBehaviorNotFound
AgentDuplicateBehaviorRef
AgentEmptyStopConditionRef
AgentStopConditionNotFound
AgentDuplicateStopConditionRef
ProvidersNotConfigured
ProviderNotFound
SkillsNotConfigured
Trait Implementations§
Source§impl Debug for AgentOsBuildError
impl Debug for AgentOsBuildError
Source§impl Display for AgentOsBuildError
impl Display for AgentOsBuildError
Source§impl Error for AgentOsBuildError
impl Error for AgentOsBuildError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AgentCatalogError> for AgentOsBuildError
impl From<AgentCatalogError> for AgentOsBuildError
Source§fn from(source: AgentCatalogError) -> Self
fn from(source: AgentCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<AgentRegistryError> for AgentOsBuildError
impl From<AgentRegistryError> for AgentOsBuildError
Source§fn from(source: AgentRegistryError) -> Self
fn from(source: AgentRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<BehaviorRegistryError> for AgentOsBuildError
impl From<BehaviorRegistryError> for AgentOsBuildError
Source§fn from(source: BehaviorRegistryError) -> Self
fn from(source: BehaviorRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<BundleComposeError> for AgentOsBuildError
impl From<BundleComposeError> for AgentOsBuildError
Source§fn from(source: BundleComposeError) -> Self
fn from(source: BundleComposeError) -> Self
Converts to this type from the input type.
Source§impl From<ModelRegistryError> for AgentOsBuildError
impl From<ModelRegistryError> for AgentOsBuildError
Source§fn from(source: ModelRegistryError) -> Self
fn from(source: ModelRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<ProviderRegistryError> for AgentOsBuildError
impl From<ProviderRegistryError> for AgentOsBuildError
Source§fn from(source: ProviderRegistryError) -> Self
fn from(source: ProviderRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<SkillError> for AgentOsBuildError
impl From<SkillError> for AgentOsBuildError
Source§fn from(source: SkillError) -> Self
fn from(source: SkillError) -> Self
Converts to this type from the input type.
Source§impl From<SkillRegistryError> for AgentOsBuildError
impl From<SkillRegistryError> for AgentOsBuildError
Source§fn from(source: SkillRegistryError) -> Self
fn from(source: SkillRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<SkillRegistryManagerError> for AgentOsBuildError
impl From<SkillRegistryManagerError> for AgentOsBuildError
Source§fn from(source: SkillRegistryManagerError) -> Self
fn from(source: SkillRegistryManagerError) -> Self
Converts to this type from the input type.
Source§impl From<StopPolicyRegistryError> for AgentOsBuildError
impl From<StopPolicyRegistryError> for AgentOsBuildError
Source§fn from(source: StopPolicyRegistryError) -> Self
fn from(source: StopPolicyRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<ToolRegistryError> for AgentOsBuildError
impl From<ToolRegistryError> for AgentOsBuildError
Source§fn from(source: ToolRegistryError) -> Self
fn from(source: ToolRegistryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AgentOsBuildError
impl RefUnwindSafe for AgentOsBuildError
impl Send for AgentOsBuildError
impl Sync for AgentOsBuildError
impl Unpin for AgentOsBuildError
impl UnwindSafe for AgentOsBuildError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.