pub enum PegBoardError {
ToolAlreadyExists(String),
ToolNotFound(String),
InvalidServiceId(String),
DuplicateMcpId(String),
NamespaceAlreadyExists(String),
ServiceError(String),
}Expand description
Errors that can occur when working with PegBoard
Variants§
ToolAlreadyExists(String)
ToolNotFound(String)
InvalidServiceId(String)
DuplicateMcpId(String)
NamespaceAlreadyExists(String)
ServiceError(String)
Trait Implementations§
Source§impl Debug for PegBoardError
impl Debug for PegBoardError
Source§impl Display for PegBoardError
impl Display for PegBoardError
Source§impl Error for PegBoardError
impl Error for PegBoardError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for PegBoardError
impl RefUnwindSafe for PegBoardError
impl Send for PegBoardError
impl Sync for PegBoardError
impl Unpin for PegBoardError
impl UnsafeUnpin for PegBoardError
impl UnwindSafe for PegBoardError
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