Skip to main content

run_trace_error

Function run_trace_error 

Source
pub fn run_trace_error(
    options: &TraceErrorOptions,
) -> Result<TraceErrorProgrammaticOutput, ProgrammaticError>
Expand description

Resolve a runtime stack trace’s frames against the project graph.

A trace in which nothing resolves is a RESULT, not an error: the output reports every frame with the origin and resolution that explain why. Only an empty trace argument, a config load failure, or a failed analysis is an error.

§Errors

Returns a structured programmatic error for an empty or oversized trace, config load failures, or graph construction failures.