(mut self)
| 288 | |
| 289 | #[cfg(feature = "anyhow")] |
| 290 | fn ext_into_anyhow(mut self) -> anyhow::Error { |
| 291 | match self.error.take() { |
| 292 | Some(error) => anyhow::Error::from(error).context(self.context), |
| 293 | None => anyhow::Error::msg(self), |
| 294 | } |
| 295 | } |
| 296 | } |