Skip to main content

advice_error_with_package_source_context

Function advice_error_with_package_source_context 

Source
pub fn advice_error_with_package_source_context(
    err: AdviceError,
    context: PackageSourceDebugContext<'_>,
    host: &impl BaseHost,
    op_idx: Option<usize>,
) -> ExecutionError
Expand description

Wraps an AdviceError with package-owned source-occurrence execution context.