Module snafu::guide::examples::backtrace [−][src]
Exposing complete backtraces to the location of the error.
Start by looking at the error type Error
.
Structs
SnafuErrorAsSource | SNAFU context selector for the |
SourceErrorDoesNotHaveBacktrace | SNAFU context selector for the |
UsedInTightLoop | SNAFU context selector for the |
UsualCase | SNAFU context selector for the |
Enums
ConfigFileError | This is a placeholder example and can be ignored. |
Error | 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. |