pub enum AgentServiceError {
Show 18 variants
Repository(RepositoryError),
Agent(AgentError),
Network(Error),
Io(Error),
AiInference(AiInferenceError),
McpRegistry(McpRegistryError),
Validation {
field: &'static str,
source: BoxedSource,
},
Operation {
context: String,
source: BoxedSource,
},
ToolExecution(String),
ToolReturnedNoResult {
tool_name: McpToolName,
},
ToolFailed {
tool_name: McpToolName,
message: String,
},
ToolReturnedNoStructuredContent {
tool_name: McpToolName,
},
StreamFailed {
message: String,
},
SkillNotOnDisk {
skill_id: SkillId,
path: PathBuf,
},
StreamClosed,
TaskCancelled,
SkillWithheld {
skill_id: SkillId,
reason: &'static str,
},
SkillSource {
skill_id: SkillId,
source: ManagedSkillResolverError,
},
}Variants§
Repository(RepositoryError)
Agent(AgentError)
Network(Error)
Io(Error)
AiInference(AiInferenceError)
McpRegistry(McpRegistryError)
Validation
Operation
ToolExecution(String)
ToolReturnedNoResult
Fields
§
tool_name: McpToolNameToolFailed
ToolReturnedNoStructuredContent
Fields
§
tool_name: McpToolNameStreamFailed
SkillNotOnDisk
StreamClosed
TaskCancelled
SkillWithheld
SkillSource
Implementations§
Trait Implementations§
Source§impl Debug for AgentServiceError
impl Debug for AgentServiceError
Source§impl Display for AgentServiceError
impl Display for AgentServiceError
Source§impl Error for AgentServiceError
impl Error for AgentServiceError
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<AgentError> for AgentServiceError
impl From<AgentError> for AgentServiceError
Source§fn from(source: AgentError) -> Self
fn from(source: AgentError) -> Self
Converts to this type from the input type.
Source§impl From<AgentServiceError> for OrchestrationError
impl From<AgentServiceError> for OrchestrationError
Source§fn from(source: AgentServiceError) -> Self
fn from(source: AgentServiceError) -> Self
Converts to this type from the input type.
Source§impl From<AiInferenceError> for AgentServiceError
impl From<AiInferenceError> for AgentServiceError
Source§fn from(source: AiInferenceError) -> Self
fn from(source: AiInferenceError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AgentServiceError
impl From<Error> for AgentServiceError
Source§impl From<Error> for AgentServiceError
impl From<Error> for AgentServiceError
Source§impl From<Error> for AgentServiceError
impl From<Error> for AgentServiceError
Source§impl From<McpRegistryError> for AgentServiceError
impl From<McpRegistryError> for AgentServiceError
Source§fn from(source: McpRegistryError) -> Self
fn from(source: McpRegistryError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for AgentServiceError
impl From<RepositoryError> for AgentServiceError
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AgentServiceError
impl !UnwindSafe for AgentServiceError
impl Freeze for AgentServiceError
impl Send for AgentServiceError
impl Sync for AgentServiceError
impl Unpin for AgentServiceError
impl UnsafeUnpin for AgentServiceError
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more