pub enum RoboticusError {
}Variants§
Config(String)
Channel(String)
Database(String)
Llm(String)
Network(String)
Policy
Tool
Wallet(String)
Injection(String)
Schedule(String)
A2a(String)
Io(Error)
Skill(String)
Keystore(String)
Implementations§
Source§impl RoboticusError
impl RoboticusError
Sourcepub fn is_keystore_locked(&self) -> bool
pub fn is_keystore_locked(&self) -> bool
Returns true when the error indicates the keystore is locked.
This is the canonical check for lock state — callers should use this method instead of inspecting the error message string.
Sourcepub fn is_credit_error(&self) -> bool
pub fn is_credit_error(&self) -> bool
Returns true when the error indicates a credit, billing, or
quota-exhaustion problem that won’t resolve by retrying quickly.
Trait Implementations§
Source§impl Debug for RoboticusError
impl Debug for RoboticusError
Source§impl Display for RoboticusError
impl Display for RoboticusError
Source§impl Error for RoboticusError
impl Error for RoboticusError
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 RoboticusError
impl From<Error> for RoboticusError
Source§impl From<Error> for RoboticusError
impl From<Error> for RoboticusError
Source§impl From<Error> for RoboticusError
impl From<Error> for RoboticusError
Auto Trait Implementations§
impl Freeze for RoboticusError
impl !RefUnwindSafe for RoboticusError
impl Send for RoboticusError
impl Sync for RoboticusError
impl Unpin for RoboticusError
impl UnsafeUnpin for RoboticusError
impl !UnwindSafe for RoboticusError
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