1 2 3 4 5
#[derive(Debug, PartialEq, Eq, thiserror::Error)] pub enum JsonObjectFailure { #[error("tool call body has malformed JSON: {message}")] InvalidJson { message: String }, }