Enum liquid::Error
[−]
[src]
pub enum Error { Lexer(String), Parser(String), Render(String), Filter(FilterError), Other(String), Io(Error), }
Variants
Lexer(String)
Parser(String)
Render(String)
Filter(FilterError)
Other(String)
Io(Error)
Methods
impl Error
[src]
fn parser<T>(expected: &str, actual: Option<&Token>) -> Result<T, Error>
[src]
fn renderer<T>(msg: &str) -> Result<T, Error>
[src]
Trait Implementations
impl Debug for Error
[src]
impl From<String> for Error
[src]
impl<'a> From<&'a str> for Error
[src]
impl From<FilterError> for Error
[src]
fn from(err: FilterError) -> Error
[src]
Performs the conversion.
impl From<Error> for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more