Skip to main content

Module backtrace

Module backtrace 

Source
Expand description

Trap → Submilli-source backtrace rendering.

Structs§

ThrownError
An uncaught thrown Error, carrying its name: message text plus the throw-site backtrace the engine attached to the escaped exception; uncaught_error re-wraps both here so render prints a source backtrace like a trap.

Enums§

BacktraceMode

Functions§

failure_chain_checked
The engine delegates alternate Display to anyhow’s cause iterator. Its writes pass through the same bounded sink, including separators between causes.
failure_message
The one-line text for a run’s failure: the header render puts above the frames, and what a caller prints when render has no frames to show.
failure_message_checked
render
Render the backtrace against sources. file is the entrypoint script; the registry may also include package sources whose DWARF paths can render source context for package frames.
render_checked