# Enum signed::RotationError

> The rotation chain does not verify. `index` is 1-based.

`zaun_community_protocol::signed::RotationError` · Enum

```rust
pub enum RotationError { … }
```

The rotation chain does not verify. `index` is 1-based.

## Variants

### `Genesis`

The genesis key does not derive the community id.

### `Signed { index, error }`

A rotation's encoding or one of its signatures is invalid.

### `Community(u64)`

A rotation names another community.

### `Sequence(u64)`

`rotation_seq` is not the rotation's position.

### `OldRoot(u64)`

`old_root` is not the previous key of the chain.

### `SuiteDowngrade(u64)`

`new_suite` is below the previous suite.

### `TooLong`

More rotations than `rotation_seq` can number.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Display`, `Eq`, `Error`, `From<RotationError>`, `PartialEq`, `StructuralPartialEq`

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