[][src]Enum tera::ErrorKind

pub enum ErrorKind {
    Msg(String),
    CircularExtend {
        tpl: String,
        inheritance_chain: Vec<String>,
    },
    MissingParent {
        current: String,
        parent: String,
    },
    TemplateNotFound(String),
    FilterNotFound(String),
    TestNotFound(String),
    FunctionNotFound(String),
    Json(Error),
    // some variants omitted
}

The kind of an error (non-exhaustive)

Variants

Generic error

A loop was found while looking up the inheritance chain

Fields of CircularExtend

Name of the template with the loop

All the parents templates we found so far

A template is extending a template that wasn't found in the Tera instance

Fields of MissingParent

The template we are currently looking at

The missing template

A template was missing (more generic version of MissingParent)

A filter wasn't found

A test wasn't found

A function wasn't found

An error happened while serializing JSON

Trait Implementations

impl Debug for ErrorKind
[src]

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T