pub enum ArgentorError {
Agent(String),
Http(String),
Session(String),
Config(String),
Skill(String),
Channel(String),
Gateway(String),
Security(String),
Json(Error),
Io(Error),
Orchestrator(String),
}Expand description
Top-level error type for the Argentor framework.
Each variant corresponds to a subsystem that can produce errors.
Variants§
Agent(String)
An error originating from the agent execution loop.
Http(String)
An error from an outbound HTTP request (e.g. LLM API call).
Session(String)
An error related to session persistence or lookup.
Config(String)
An error in configuration parsing or validation.
Skill(String)
An error raised by a skill during invocation.
Channel(String)
An error from a communication channel (e.g. WebSocket, CLI).
Gateway(String)
An error from the API gateway layer.
Security(String)
A security-related error (permissions, TLS, rate limiting).
Json(Error)
A JSON serialization or deserialization error.
Io(Error)
A standard I/O error.
Orchestrator(String)
An error from the multi-agent orchestrator.
Trait Implementations§
Source§impl Debug for ArgentorError
impl Debug for ArgentorError
Source§impl Display for ArgentorError
impl Display for ArgentorError
Source§impl Error for ArgentorError
impl Error for ArgentorError
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 ArgentorError
impl From<Error> for ArgentorError
Auto Trait Implementations§
impl Freeze for ArgentorError
impl !RefUnwindSafe for ArgentorError
impl Send for ArgentorError
impl Sync for ArgentorError
impl Unpin for ArgentorError
impl UnsafeUnpin for ArgentorError
impl !UnwindSafe for ArgentorError
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