tinymist_std::typst::diag

Function format_xml_like_error

pub fn format_xml_like_error(format: &str, error: Error) -> EcoString
Expand description

Format a user-facing error message for an XML-like file format.