compmd_host/
manifest_error.rs1#[derive(Debug, thiserror::Error, PartialEq, Eq)]
5pub enum ManifestError {
6 #[error("the bundle's manifest can't be read: {0}")]
8 Json(String),
9 #[error(
11 "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"
12 )]
13 UnknownFormat {
14 found: u32,
16 known: u32,
18 },
19 #[error("the frames' hash `{0}` isn't 16 lowercase hex digits")]
21 Hash(String),
22 #[error("the bundle's manifest has a policy the processor can't read: {0}")]
24 Policy(String),
25}