# Enum envelope::EventError

> An event envelope that breaks the rules of the protocol

`zaun_community_protocol::envelope::EventError` · Enum

```rust
pub enum EventError { … }
```

An event envelope that breaks the rules of the protocol

## Variants

### `SequenceMissing`

A channel- or member-stream event without `sequence`.

### `SequenceOnLive`

A live event with a `sequence`.

### `ChannelIdMissing`

A channel-stream event without `channel_id`.

### `IntegerTooLarge`

`timestamp` or `sequence` at or above `2^53`.

### `NotAnEvent`

`type` is `response`, or `body` is not an object.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Display`, `Eq`, `Error`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/envelope/event_envelope/enum.EventError.html)
