Macro try_cek_to_value

Source
macro_rules! try_cek_to_value {
    ($result:expr) => { ... };
}
Expand description

Propagates a catchable error as Ok(Value::Catchable(_)) or returns the unwrapped value in Ok.

Input type: Result<T, CatchableErrorKind>

Output type: T

Return type of containing function: Result<Value, _>

See try_cek!’s documentation for more.