pub type TraceErrorOutput = ErrorTrace;Expand description
Concrete stack-trace resolution returned by typed programmatic runs.
Aliased Type§
pub struct TraceErrorOutput {
pub schema_version: ErrorTraceSchemaVersion,
pub source: String,
pub header: Option<String>,
pub frames: Vec<ErrorTraceFrame>,
pub counts: ErrorTraceCounts,
pub reason: String,
}Fields§
§schema_version: ErrorTraceSchemaVersionWire-shape version of this payload.
source: StringWhere the trace was read from: stdin, or the path as the caller wrote
it.
header: Option<String>The first non-blank input line that preceded any recognised frame, verbatim. Conventionally the error type and message, but it is reported as read and NOT parsed into parts. Absent when the input began with a frame or was empty.
frames: Vec<ErrorTraceFrame>Every recognised frame, in input order. Nothing is filtered out: a dependency or runtime-internal frame stays in the array with its origin recorded, so hop numbering matches the trace the caller pasted.
counts: ErrorTraceCountsPer-outcome totals.
reason: StringHuman-readable summary of the outcome.