Crate coded[−][src]
Expand description
Concrete error type with an ErrorKind
enum matching Google’s “canonical
error codes” and associated types/helpers.
Cargo features
backtrace
: exports backtraces as described atError
. The backtrace is not exposed to the caller except through the human-readable message produced byError::chain
.unstable_std_backtrace
: as above, but also implementstd::Error::backtrace
. This requires an unstable feature and thus nightly Rust of an unstated range that has a compatible API. It’s unstable fromcoded
’s perspective also: the required Rust compiler version may change withoutcoded
’s major version changing.
Macros
Structs
A general-purpose error with a “kind” from Google’s canonical error space.
Builder for Error
.
Enums
Error kind matching Google’s “canonical error codes”.