# Enum signed::RegistrationError

> A `MemberKeyRegistration` is not acceptable to the host.

`zaun_community_protocol::signed::RegistrationError` · Enum

```rust
pub enum RegistrationError { … }
```

A `MemberKeyRegistration` is not acceptable to the host.

## Variants

### `Signed(SignedError)`

The registration does not verify under the command's member key, or does not decode.

### `MemberKey`

`member_public_key` differs from the command's key.

### `Purpose`

The purpose differs from the command's.

### `Community`

`community_id` differs from the command's.

### `Host`

`host_id` is not this host.

### `Challenge`

`host_challenge` is not the connection's current challenge.

## Trait implementations

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

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