Module snafu::guide::examples::backtrace

source ·
Expand description

Exposing complete backtraces to the location of the error.

Start by looking at the error type Error.

Structs§

Enums§

  • This is a placeholder example and can be ignored.
  • Backtraces aren’t yet supported by the stable Rust compiler. SNAFU provides a stable-compatible way of getting backtraces as well as support for the backtrace support in the nightly compiler. By default, backtraces are disabled. It is expected that the final executable adds SNAFU as a dependency and chooses the appropriate feature flag to enable backtraces.