use crate::prelude::*;

use displaydoc::Display;

/// A catch-all error type.
#[derive(Debug, Display)]
pub enum Error {
    /// Unused.
    Unused,
}

#[cfg(feature = "std")]
impl std::error::Error for Error {
    fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
        None
    }
}
