Summary
failure
How to use failure
The Fail trait
Deriving Fail
The Error type
bail!
and
ensure!
Patterns & Guidance
Strings as errors
A Custom Fail type
Using the Error type
An Error and ErrorKind pair
Strings and custom fail type