//! Define a custom Result type.

#[cfg(not(feature = "std"))]
use alloc::boxed::Box;

/// A Result using [`core::error::Error`] as error type.
pub type Result<T> = core::result::Result<T, Box<dyn core::error::Error + Send + Sync>>;
