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 }
Error when rendering data on template.
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
fn with<E>(cause: E) -> RenderError where
E: Error + Send + 'static,
E: Error + Send + 'static,
Trait Implementations
impl Debug for RenderError
[src]
impl Display for RenderError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for RenderError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<IOError> for RenderError
[src]
fn from(e: IOError) -> RenderError
Performs the conversion.
impl From<SerdeError> for RenderError
[src]
fn from(e: SerdeError) -> RenderError
Performs the conversion.