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

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.

Implementations on Foreign Types§

Implementors§