euv-docs 0.48.1

Cross-platform documentation viewer and static site generator powered by euv and euv-ui.
Documentation
/// Typed failure taxonomy for `euv-docs` payload compression and site bundle unpacking.
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum DocsCodecError {
    /// The stream does not start with the `EUVZ` magic prefix.
    BadMagic,
    /// The stream declares an unsupported format version.
    UnsupportedVersion(u8),
    /// The stream ended before all declared data was decoded.
    Truncated,
    /// A block header carries an over-subscribed or empty Huffman code.
    InvalidCodeLengths,
    /// The bit stream contains a symbol that maps to no valid code.
    InvalidSymbol,
    /// A back-reference points before the start of the decoded output.
    InvalidDistance,
    /// The decoded byte count does not match the declared original length.
    LengthMismatch,
    /// The packed page list does not align with the plaintext page index.
    PageCountMismatch,
    /// The shell JSON or decoded page JSON failed to (de)serialize.
    InvalidPayload(String),
}