# Enum client::BuildError

> An owner or member object (descriptor, delegation, registration, body) could not be built.

`zaun_community_protocol::client::BuildError` · Enum

```rust
pub enum BuildError { … }
```

An owner or member object (descriptor, delegation, registration, body) could not be built.

## Variants

### `HostId`

The advertised host key does not derive the advertised `HostId`.

### `WrongRootKey`

The signing key is not the descriptor's current root key.

### `OwnerKey`

The member key is not the descriptor's `owner_member_key`.

### `Signed(SignedError)`

A field breaks its rule, or signing failed.

### `Body(BodyError)`

The command body breaks a state-free rule.

## Trait implementations

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

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