Skip to main content

with_context

Function with_context 

Source
pub fn with_context<T>(
    result: Result<T>,
    context_key: impl Into<String>,
    context_value: impl Into<String>,
) -> Result<T>
Expand description

🔧 创建带有上下文的错误的便利函数