Skip to main content

note_error_tera_template

Macro note_error_tera_template 

Source
macro_rules! note_error_tera_template {
    ($e:ident, $t:expr) => { ... };
}
Expand description

Macro to construct a NoteError from a Tera::Error. Filter errors (markup rendering failures) produce NoteError::MarkupError directly; all other Tera errors produce NoteError::TeraTemplate.