pub enum DomainAgentError {
DomainNotFound(String),
AgentNotFound(String),
KnowledgeBaseError(String),
ConfigError(String),
SerializationError(Error),
YamlError(Error),
StorageError(String),
ExecutionError(String),
IoError(Error),
InvalidConfiguration(String),
KnowledgeNotAvailable(String),
}Expand description
Errors that can occur in domain agent operations
Variants§
DomainNotFound(String)
Domain not found
AgentNotFound(String)
Agent not found for domain
KnowledgeBaseError(String)
Knowledge base error
ConfigError(String)
Configuration error
SerializationError(Error)
Serialization error
YamlError(Error)
YAML error
StorageError(String)
Storage error
ExecutionError(String)
Agent execution error
IoError(Error)
IO error
InvalidConfiguration(String)
Invalid domain configuration
KnowledgeNotAvailable(String)
Domain knowledge not available
Trait Implementations§
Source§impl Debug for DomainAgentError
impl Debug for DomainAgentError
Source§impl Display for DomainAgentError
impl Display for DomainAgentError
Source§impl Error for DomainAgentError
impl Error for DomainAgentError
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<Error> for DomainAgentError
impl From<Error> for DomainAgentError
Source§impl From<Error> for DomainAgentError
impl From<Error> for DomainAgentError
Auto Trait Implementations§
impl Freeze for DomainAgentError
impl !RefUnwindSafe for DomainAgentError
impl Send for DomainAgentError
impl Sync for DomainAgentError
impl Unpin for DomainAgentError
impl !UnwindSafe for DomainAgentError
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