From b6b67681ea87e5b2d0fbf24219c463cd86dbd989 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 8 Dec 2025 16:25:33 +0900 Subject: [PATCH] commands: add request parser error variant for keyword without value --- src/commands.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands.rs b/src/commands.rs index 8b967d9..a980514 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -612,6 +612,12 @@ pub enum RequestParserError { found: u32, }, + #[error("A keyword argument was provided without a value: {keyword}")] + MissingKeywordValue { + /// The unexpected keyword that was found + keyword: String, + }, + #[error("A command list was expected to be closed, but the end was not found")] MissingCommandListEnd,