Struct handlebars::RenderError [−][src]
pub struct RenderError {
pub desc: String,
pub template_name: Option<String>,
pub line_no: Option<usize>,
pub column_no: Option<usize>,
// some fields omitted
}
Expand description
Error when rendering data on template.
Fields
desc: String
template_name: Option<String>
line_no: Option<usize>
column_no: Option<usize>
Implementations
pub fn from_error<E>(error_info: &str, cause: E) -> RenderError where
E: Error + Send + Sync + 'static,
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.