#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
#![doc = include_str!(concat!("../", std::env!("CARGO_PKG_README")))]
// See: https://stackoverflow.com/a/61417700
// See: https://github.com/rust-lang/cargo/pull/11645#issuecomment-1536905941

mod attachment;
mod cause;
mod compatibility;
mod error;
mod implementation;
mod problem;
mod problems;
mod receiver;
mod result;

/// Common error and attachment types.
pub mod common;

#[allow(unused_imports)]
pub use {
    attachment::*, cause::*, compatibility::*, error::*, problem::*, problems::*, receiver::*,
    result::*,
};

#[cfg(feature = "backtrace-external")]
pub use backtrace;
