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>,
}Fields
desc: String
template_name: Option<String>
line_no: Option<usize>
column_no: Option<usize>
Methods
impl RenderError[src]
fn new<T: AsRef<str>>(desc: T) -> RenderError
Trait Implementations
impl Clone for RenderError[src]
fn clone(&self) -> RenderError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for RenderError[src]
impl Display for RenderError[src]
impl Error for RenderError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0
The lower-level cause of this error, if any. Read more
impl From<IOError> for RenderError[src]
fn from(_: IOError) -> RenderError
Performs the conversion.