Expand description
Exposing complete backtraces to the location of the error.
Start by looking at the error type Error
.
Structs
SNAFU context selector for the
Error::SnafuErrorAsSource
variantSNAFU context selector for the
Error::SourceErrorDoesNotHaveBacktrace
variantSNAFU context selector for the
Error::UsedInTightLoop
variantSNAFU context selector for the
Error::UsualCase
variantEnums
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.