Skip to main content

kevy_resp/
error.rs

1//! Protocol-level parsing error shared by request + reply parsers.
2
3/// Why a buffer could not (yet) be parsed into a command (or reply).
4#[derive(Debug, PartialEq, Eq)]
5pub enum ProtocolError {
6    /// A malformed frame that can never become valid (e.g. bad length prefix).
7    Malformed(&'static str),
8}