(err: E)
| 564 | /// [_inner error type_ `I`](Error#inner-error-type-i). |
| 565 | #[track_caller] |
| 566 | pub fn wrap<E>(err: E) -> Self |
| 567 | where |
| 568 | E: Into<I>, |
| 569 | { |
| 570 | ErrorData::wrap(err).into() |
| 571 | } |
| 572 | |
| 573 | /// Creates a [`WrappedError`] variant of [`Error`] |
| 574 | /// from something that can be turned into an |
nothing calls this directly
no test coverage detected