# Enum envelope::Reason

> `FORBIDDEN` and `CONFLICT` reasons.

`zaun_community_protocol::envelope::Reason` · Enum

```rust
pub enum Reason { … }
```

`FORBIDDEN` and `CONFLICT` reasons.

## Variants

### `Hierarchy`

`FORBIDDEN`: a management-hierarchy check failed.

### `Probation`

`FORBIDDEN`: newcomer restrictions (probation, waiting period).

### `Lockdown`

`FORBIDDEN`: an emergency lockdown restriction.

### `RequestIdReused`

`CONFLICT`: a `request_id` reused with another `type` or body.

### `AlreadyMember`

`CONFLICT`: already a member.

### `AlreadyHosted`

`CONFLICT`: the community is already hosted.

### `OwnerCannotLeave`

`CONFLICT`: the owner cannot leave.

### `StaleRevision`

`CONFLICT`: a signed object's revision is stale.

### `AlreadyBound`

`CONFLICT`: the connection is already bound.

### `LimitReached`

`CONFLICT`: a count limit was reached.

### `InvalidState`

`CONFLICT`: the subject is in a state the command does not apply to (suspending a
`pending` member, restoring one that is not `suspended`, reviewing a closed report).

### `Ceiling`

`FORBIDDEN`: grants beyond the operator's ceiling or the manifest's request.

### `Publisher`

`FORBIDDEN`: a bot update signed by another publisher.

### `AlreadyInstalled`

`CONFLICT`: the bot's `app_id` is installed already.

### `DmsClosed`

`FORBIDDEN`: the member does not take direct messages from bots, or closed this one.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Deserialize<'de>`, `Eq`, `Hash`, `PartialEq`, `Serialize`, `StructuralPartialEq`

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