commands: add request parser error variant for keyword without value

This commit is contained in:
2025-12-08 16:25:33 +09:00
parent f36a1b3a36
commit a8f64eb9c0
+6
View File
@@ -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,