pub enum IcarusError {
Mcp(String),
Canister(String),
Serialization(Error),
State(String),
Protocol(String),
Tool(ToolError),
Other(String),
}Expand description
Main error type for Icarus operations
Variants§
Mcp(String)
Error from the underlying MCP implementation
Canister(String)
Error from ICP canister operations
Serialization(Error)
Serialization/deserialization errors
State(String)
State management errors
Protocol(String)
Protocol translation errors
Tool(ToolError)
Tool execution errors
Other(String)
Generic errors
Trait Implementations§
Source§impl Debug for IcarusError
impl Debug for IcarusError
Source§impl Display for IcarusError
impl Display for IcarusError
Source§impl Error for IcarusError
impl Error for IcarusError
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 IcarusError
impl From<Error> for IcarusError
Source§impl From<Error> for IcarusError
impl From<Error> for IcarusError
Auto Trait Implementations§
impl Freeze for IcarusError
impl !RefUnwindSafe for IcarusError
impl Send for IcarusError
impl Sync for IcarusError
impl Unpin for IcarusError
impl !UnwindSafe for IcarusError
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