Module snafu::guide::examples::basic

source ·
Expand description

The most common usage of SNAFU — an enumeration of possible errors.

Start by looking at the error type Error, then view the context selectors LeafSnafu and IntermediateSnafu.

Structs

SNAFU context selector for the Error::Intermediate variant
SNAFU context selector for the Error::Leaf variant

Enums

An enumeration of possible errors.