Type Definition liquid_error::Result [−][src]
type Result<T> = Result<T, Error>;
Convenience type alias for Liquid compiler errors
Trait Implementations
impl<T> ResultLiquidExt<T> for Result<T>
[src]
impl<T> ResultLiquidExt<T> for Result<T>
fn trace<S>(self, trace: S) -> Result<T> where
S: Into<Cow<'static, str>>,
[src]
fn trace<S>(self, trace: S) -> Result<T> where
S: Into<Cow<'static, str>>,
Add a new stack frame to the liquid_error::Error
.
fn trace_with<F>(self, trace: F) -> Result<T> where
F: FnOnce() -> String,
[src]
fn trace_with<F>(self, trace: F) -> Result<T> where
F: FnOnce() -> String,
Add a new stack frame to the liquid_error::Error
.
fn context<K, V>(self, key: K, value: V) -> Result<T> where
K: Into<Cow<'static, str>>,
V: Into<Cow<'static, str>>,
[src]
fn context<K, V>(self, key: K, value: V) -> Result<T> where
K: Into<Cow<'static, str>>,
V: Into<Cow<'static, str>>,
Add state the current stack frame.
fn context_with<F>(self, context: F) -> Result<T> where
F: FnOnce() -> (String, String),
[src]
fn context_with<F>(self, context: F) -> Result<T> where
F: FnOnce() -> (String, String),
Add state the current stack frame.