pub enum NodeBundleError {
Show 28 variants
RootNotAbsolute,
UnsafeRoot,
InsecurePermissions {
path: PathBuf,
},
SourceChanged {
path: PathBuf,
},
EscapedRoot {
path: PathBuf,
},
PathNotUtf8 {
path: PathBuf,
},
PathTooLong {
path: String,
max: usize,
},
UnsafePath {
path: String,
},
CaseFoldCollision {
first: String,
second: String,
},
UnsafeFileType {
path: String,
},
ExecutableFile {
path: String,
},
TooManyFiles {
max: usize,
},
FileTooLarge {
path: String,
max: usize,
},
TotalTooLarge {
max: usize,
},
McpUnsupported,
UnsupportedRoot {
path: String,
},
MissingManifest,
InvalidManifest {
reason: &'static str,
},
InvalidClaudeManifest {
reason: &'static str,
},
MissingSkills,
InvalidSkill {
path: String,
reason: &'static str,
},
DigestMismatch {
expected: SpawnBundleDigest,
actual: SpawnBundleDigest,
},
InvalidDeliveryManifest,
DeliveryManifestDigestMismatch,
DeliveryBlobMissing,
DeliveryBlobLengthMismatch,
DeliveryBlobDigestMismatch,
Io {
path: PathBuf,
source: Error,
},
}Variants§
RootNotAbsolute
UnsafeRoot
InsecurePermissions
SourceChanged
EscapedRoot
PathNotUtf8
PathTooLong
UnsafePath
CaseFoldCollision
UnsafeFileType
ExecutableFile
TooManyFiles
FileTooLarge
TotalTooLarge
McpUnsupported
UnsupportedRoot
MissingManifest
InvalidManifest
InvalidClaudeManifest
MissingSkills
InvalidSkill
DigestMismatch
InvalidDeliveryManifest
DeliveryManifestDigestMismatch
DeliveryBlobMissing
DeliveryBlobLengthMismatch
DeliveryBlobDigestMismatch
Io
Trait Implementations§
Source§impl Debug for NodeBundleError
impl Debug for NodeBundleError
Source§impl Display for NodeBundleError
impl Display for NodeBundleError
Source§impl Error for NodeBundleError
impl Error for NodeBundleError
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 !RefUnwindSafe for NodeBundleError
impl !UnwindSafe for NodeBundleError
impl Freeze for NodeBundleError
impl Send for NodeBundleError
impl Sync for NodeBundleError
impl Unpin for NodeBundleError
impl UnsafeUnpin for NodeBundleError
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