Skip to content

Enum signed::PackageError

zaun_community_protocol::signed::PackageError · Enum

pub enum PackageError { … }

A .zbot file that does not verify.

Not a package file: wrong magic or container version, a part over its limit, truncated or with trailing bytes, or a header that is not a canonical BotPackage.

The publisher signature does not verify (or is not a signature encoding).

The package is unsigned and the host does not accept unsigned packages.

The manifest is not the one the header names.

The component is not the one the header names.

The manifest is not JSON with app_id and version equal to the header’s.

Clone, Debug, Display, Eq, Error, From<DecodeError>, From<SignedError>, PartialEq, StructuralPartialEq

Full rustdoc page