# Enum signed::PackageError

> A `.zbot` file that does not verify.

`zaun_community_protocol::signed::PackageError` · Enum

```rust
pub enum PackageError { … }
```

A `.zbot` file that does not verify.

## Variants

### `Malformed(DecodeError)`

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`.

### `Signature(SignedError)`

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

### `Unsigned`

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

### `ManifestHash`

The manifest is not the one the header names.

### `ComponentHash`

The component is not the one the header names.

### `Manifest`

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

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/signed/bot_package/container/enum.PackageError.html)
