pzzld_core/error/mod.rs
1/*
2    Appellation: traits <module>
3    Contrib: FL03 <jo3mccain@icloud.com>
4*/
5//! # Traits
6//!
7//!
8#[doc(inline)]
9pub use self::err::{Error, ErrorKind};
10
11mod err;
12
13pub(crate) mod prelude {
14    pub use super::err::*;
15}
16
17/// A type alias for a [`Result`] which employs the use of the custom [`Error`] type.
18pub type Result<T = ()> = core::result::Result<T, Error>;
19
20#[cfg(test)]
21mod tests {}