Enum tera::TeraErrorType [] [src]

pub enum TeraErrorType {
    TemplateNotFound,
    FieldNotFound,
    NotANumber,
    NotAnArray,
}

Variants

TemplateNotFound

Template doesn't exist

FieldNotFound

Field not found in context

NotANumber

Tried to do math on something that isn't a number

NotAnArray

Tried to iterate on a non-array field

Trait Implementations

impl PartialEq for TeraErrorType
[src]

fn eq(&self, __arg_0: &TeraErrorType) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for TeraErrorType
[src]

fn clone(&self) -> TeraErrorType

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 Copy for TeraErrorType
[src]

impl Debug for TeraErrorType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.