compmd-host 0.11.0

What every host of CompMD documents shares: the bundle and its manifest, the pack store, and the serving contract, for any platform's adapter. In development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Why a bundle can't be used.

use crate::manifest_error::ManifestError;

/// What is wrong with a bundle.
#[derive(Debug, thiserror::Error, PartialEq, Eq)]
pub enum BundleError {
    /// It has no `manifest.json`: the frames weren't built, or the folder isn't a bundle.
    #[error(
        "no bundle here: its manifest.json is missing; build the page (with @compmd/vite) first"
    )]
    NoManifest,
    /// Its manifest can't be used.
    #[error(transparent)]
    Manifest(#[from] ManifestError),
}