Trait liquid_error::ResultLiquidExt[][src]

pub trait ResultLiquidExt<T> {
    fn trace<S>(self, trace: S) -> Result<T>
    where
        S: Into<Cow<'static, str>>
;
fn trace_with<F>(self, trace: F) -> Result<T>
    where
        F: FnOnce() -> String
;
fn context<K, V>(self, key: K, value: V) -> Result<T>
    where
        K: Into<Cow<'static, str>>,
        V: Into<Cow<'static, str>>
;
fn context_with<F>(self, context: F) -> Result<T>
    where
        F: FnOnce() -> (String, String)
; }

Add context to a liquid_error::Error.

Required Methods

Add a new stack frame to the liquid_error::Error.

Add a new stack frame to the liquid_error::Error.

Add state the current stack frame.

Add state the current stack frame.

Implementors