1/// Failures specific to the JSON-object args parser (Qwen 3 `<tool_call>{"name":..., "arguments":...}</tool_call>`). 2#[derive(Debug, thiserror::Error)] 3pub enum JsonObjectFailure { 4 #[error("tool call body has malformed JSON: {message}")] 5 InvalidJson { message: String }, 6}