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>
Implementations
impl RenderError
[src]
impl RenderError
[src]pub fn new<T: AsRef<str>>(desc: T) -> RenderError
[src]
pub fn strict_error(path: Option<&String>) -> RenderError
[src]
pub fn with<E>(cause: E) -> RenderError where
E: Error + Send + Sync + 'static,
[src]
E: Error + Send + Sync + 'static,
👎 Deprecated
pub fn from_error<E>(error_kind: &str, cause: E) -> RenderError where
E: Error + Send + Sync + 'static,
[src]
E: Error + Send + Sync + 'static,
Trait Implementations
impl Error for RenderError
[src]
impl Error for RenderError
[src]impl From<Error> for RenderError
[src]
impl From<Error> for RenderError
[src]fn from(e: IOError) -> RenderError
[src]
impl From<Error> for RenderError
[src]
impl From<Error> for RenderError
[src]fn from(e: SerdeError) -> RenderError
[src]
impl From<FromUtf8Error> for RenderError
[src]
impl From<FromUtf8Error> for RenderError
[src]fn from(e: FromUtf8Error) -> RenderError
[src]
impl From<ParseIntError> for RenderError
[src]
impl From<ParseIntError> for RenderError
[src]fn from(e: ParseIntError) -> RenderError
[src]
impl From<RenderError> for TemplateRenderError
[src]
impl From<RenderError> for TemplateRenderError
[src]