Expand description
Errors which make your users’ lives easier.
Provides a framework through which you can expose error chains which include advice for how users can respond to (and hopefully resolve) a failure. Designed to make you treat recovery from failure as a fundamental part of the design process in your application.
Re-exports§
Structs§
- Error
- The fundamental error type used by this library.
Enums§
- Kind
- The kind of error which occurred.
Traits§
- Result
Ext - Extension trait for
Resultto convert errors into user-friendly or system-friendlyErrortypes.
Functions§
- system
- An error triggered by the system rather than the user, with a deeper cause.
- user
- An error triggered by something the user has done, with a deeper cause.
- wrap
- Wraps an existing error with a basic message.
- wrap_
system - An error triggered by the system rather than the user, with a deeper cause.
- wrap_
user - An error triggered by something the user has done, with a deeper cause.