Skip to main content

error_with_context

Function error_with_context 

Source
pub fn error_with_context<C: Context>(
    context: C,
    message: impl Display + Debug + Send + Sync + 'static,
) -> Report<C>
Expand description

Create a new error report with context