use fmt;
/// Error type returned by fallible stackpulse APIs.
///
/// All recorder, spool, and symbolization operations funnel their failures
/// through this enum. It implements [`std::error::Error`] and converts from
/// [`std::io::Error`], so it composes with `?` in callers that already use
/// `Result` from this crate.
/// Convenience alias for `Result<T, Error>` used throughout the crate.
pub type Result<T> = Result;