#[derive(Debug, thiserror::Error, PartialEq, Eq)]
pub enum ManifestError {
#[error("the bundle's manifest can't be read: {0}")]
Json(String),
#[error(
"the bundle's manifest is format {found}, and this compmd-host reads format {known}: upgrade compmd-host to the version of the @compmd packages that built the bundle"
)]
UnknownFormat {
found: u32,
known: u32,
},
#[error("the frames' hash `{0}` isn't 16 lowercase hex digits")]
Hash(String),
#[error("the bundle's manifest has a policy the processor can't read: {0}")]
Policy(String),
}