Skip to content

Enum error_code::ErrorCode

zaun_community_protocol::error_code::ErrorCode · Enum

pub enum ErrorCode { … }

A response error code. Clients branch on this, never on the message text.

pub const fn is_recorded(self) -> bool

Whether a response with this code is stored as the idempotency record: every error except the transient ones, which may be retried with the same request_id.

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

Full rustdoc page