pub enum RinneError {
Config(String),
Worker(String),
Conductor(String),
Mcp(String),
Skill(String),
Blackboard(String),
Plan(String),
Cancelled(String),
NotFound(PathBuf),
NotImplemented(&'static str),
Io(Error),
Json(Error),
}Expand description
The canonical error type for Rinne’s library crates.
Variants§
Config(String)
Worker(String)
Conductor(String)
Mcp(String)
Skill(String)
Blackboard(String)
Plan(String)
Cancelled(String)
A run was cancelled (e.g. via /pause, a budget kill, or a
stuck-detector abort).
NotFound(PathBuf)
NotImplemented(&'static str)
Io(Error)
Json(Error)
Trait Implementations§
Source§impl Debug for RinneError
impl Debug for RinneError
Source§impl Display for RinneError
impl Display for RinneError
Source§impl Error for RinneError
impl Error for RinneError
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 RinneError
impl From<Error> for RinneError
Source§fn from(source: Error) -> RinneError
fn from(source: Error) -> RinneError
Converts to this type from the input type.
Source§impl From<Error> for RinneError
impl From<Error> for RinneError
Source§fn from(source: Error) -> RinneError
fn from(source: Error) -> RinneError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RinneError
impl !UnwindSafe for RinneError
impl Forget for RinneError
impl Freeze for RinneError
impl Move for RinneError
impl Send for RinneError
impl Sync for RinneError
impl Unpin for RinneError
impl UnsafeUnpin for RinneError
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