pub enum MuragentError {
Show 13 variants
SchemaMismatch(String),
ManifestParse(String),
SignedJsonMismatch,
DsseError(String),
SubjectHashMismatch {
path: String,
expected: String,
actual: String,
},
MissingSubject(String),
ExtraFile(String),
ExecutableContent(String),
ForbiddenMcpCommand(String),
InvalidSignature(String),
TrustRefused(String),
Io(Error),
Other(String),
}Variants§
SchemaMismatch(String)
ManifestParse(String)
SignedJsonMismatch
DsseError(String)
SubjectHashMismatch
MissingSubject(String)
ExtraFile(String)
ExecutableContent(String)
ForbiddenMcpCommand(String)
InvalidSignature(String)
TrustRefused(String)
Io(Error)
Other(String)
Trait Implementations§
Source§impl Debug for MuragentError
impl Debug for MuragentError
Source§impl Display for MuragentError
impl Display for MuragentError
Source§impl Error for MuragentError
impl Error for MuragentError
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 MuragentError
impl !RefUnwindSafe for MuragentError
impl Send for MuragentError
impl Sync for MuragentError
impl Unpin for MuragentError
impl UnsafeUnpin for MuragentError
impl !UnwindSafe for MuragentError
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