Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(error): add
Error::cause2
and Error::into_cause
- The `cause2` method adds a `'static` bound, allowing to downcast the error type. - The `into_cause` method converts an `Error` into its optional cause. Closes #1542
- Loading branch information