Enum mage::Error []

pub enum Error {
    UnpairedBrackets,
    ExpectIf,
    CanNotClose,
    UnexpectedNode,
    Io(IOError),
    Expression(ExpressionError),
    CanNotRender,
    ExpectArrayOrObject,
    ExpectedBoolean,
    InvalidSetBlock,
    InvalidForBlock,
}

Template parsing error

Variants

Unpaired brackets. you may have symtax like {{ {{ , if you really want that, you should write {{ {{

Expect if keyword but the given isn't.

Can not close this node.

Found unexpected node.

IO Error.

Expression error.

Can not render.

Expect array or object but the given isn't.

Expect boolean but the given isn't.

Invalid set block.

Invalid for block

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<IOError> for Error

Performs the conversion.

impl From<ExpressionError> for Error

Performs the conversion.