//! Compatibility module to convert errors from other libraries into [`Report`].
//!
//! In order to convert these error types, use [`IntoReportCompat::into_report()`].
use crateReport;
/// Compatibility trait to convert from external libraries to [`Report`].
///
/// **Note**: Most error libraries don't implement [`Error`], so it's not possible to directly
/// convert them to [`Report`]. However, `error-stack` supports converting errors generated from the
/// [`anyhow`] or [`eyre`] crate via [`IntoReportCompat`].
///
/// [`eyre`]: ::eyre
/// [`anyhow`]: ::anyhow
/// [`Error`]: core::error::Error