pub type Tier3LoadError = LoadError;Expand description
LoadError thin alias used by callers that want to forward archive
IO problems through the load-error surface. Not constructed
inside this module — exposed only so external callers don’t have
to reach into crate::entity::loader for the type.
Aliased Type§
pub enum Tier3LoadError {
DirNotFound(String),
Parse {
file: String,
source: ParseError,
},
Io(Error),
ArchiveNotFound(String),
InvalidArchive(String),
Zip(ZipError),
RefNotFound(String),
GitTree(String),
}Variants§
DirNotFound(String)
Parse
Io(Error)
ArchiveNotFound(String)
InvalidArchive(String)
A zip-level failure (corrupt header, invalid entry, etc.) or a policy rejection (zip-slip, symlink, absolute entry path). Kept as a single variant because both mean “this archive is unsafe to load” — the message is the action item.
Zip(ZipError)
RefNotFound(String)
A git ref named by the workspace-side adapter could not be
resolved in the open repository. The ref-name string is echoed
back so an operator log line is self-explanatory. Constructed
only by memstead-git-branch::entity::git_tree_source.
GitTree(String)
A gix-level failure while reading the tree (object missing,
corrupt repository, IO underneath the object database). The
wrapped message names the underlying gix error so the
loader-level message stays one-line and grep-friendly.
Constructed only by memstead-git-branch::entity::git_tree_source.