Struct twig::runtime::Error [] [src]

pub struct Error {
    pub message: ErrorMessage,
    pub stack_trace: Vec<TraceEntry>,
}

Runtime error with stack trace.

Fields

message: ErrorMessage stack_trace: Vec<TraceEntry>

Methods

impl Error
[src]

fn new(message: ErrorMessage) -> Error

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.