Module base::error_chain
source · [−]Expand description
Re-exports from error_chain
.
Modules
These modules show an example of code generated by the macro. IT MUST NOT BE USED OUTSIDE THIS CRATE.
Macros
Exits a function early with an error
Exits a function early with an error if the condition is not satisfied
Macro for generating error types and traits. See crate level documentation for details.
Convenient wrapper to be able to use ?
and such in the main. You can
use it with a separated function:
From https://github.com/tailhook/quick-error Changes:
Macro used interally for output expanding an expression
Structs
Representation of an owned and self-contained backtrace.
A struct which formats an error for output.
Iterator over the error chain using the Error::cause()
method.
Traits
This trait is implemented on all the errors generated by the error_chain
macro.
Represents a value that can be used as the exit status of the process.
See quick_main!
.