1 2 3 4 5 6 7 8
use crate::{ParseMetadata, Result}; use serde_json::{Value, json}; pub fn parse_error(_code: &str, meta: &ParseMetadata) -> Result<Value> { Ok(json!({ "type": meta.diagram_type, })) }