Skip to content

Struct envelope::ErrorExtras

zaun_community_protocol::envelope::ErrorExtras · Struct

pub struct ErrorExtras { … }

The extra fields of the protocol Each applies to the codes named on it.

BAD_REQUEST: the offending field, when known ("body.content", "request_id").

PAYLOAD_TOO_LARGE: the limit exceeded.

UNSUPPORTED_VERSION: the host’s range.

UNSUPPORTED_FEATURE: the feature.

FORBIDDEN: the missing permission bits, as a JSON decimal string.

FORBIDDEN (hierarchy, probation, lockdown) or CONFLICT reason.

SUSPENDED / TIMED_OUT: end of the restriction, ms since the Unix epoch.

SLOWMODE_ACTIVE, RATE_LIMITED, BUSY: milliseconds to wait.

RATE_LIMITED: the scope whose limit was hit.

RATE_LIMITED: the category, when one applies.

RESYNC_REQUIRED: the stream to resynchronise.

RESYNC_REQUIRED: the channel, for a channel stream.

INVALID_SIGNATURE: which signed object failed ("descriptor", "delegation", …).

Clone, Debug, Default, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page