scsys_core/
error.rs

1/*
2    Appellation: error <module>
3    Contrib: @FL03
4*/
5#[cfg(feature = "alloc")]
6pub use self::std_error::StdError;
7#[doc(inline)]
8pub use self::{core_error::*, raw_error::*};
9
10/// this module implements an enumerated error type used throughout the sdk
11mod core_error;
12/// the this module implements a raw, generic error type wrapper
13mod raw_error;
14/// this module implements an alternative error type that uses some kind to distinguish
15/// between different error types
16#[cfg(feature = "alloc")]
17mod std_error;
18
19/// this trait is used to denote various _error kinds_ for use throughout the sdk
20pub trait ErrorKind {
21    private!();
22}
23
24impl<T> ErrorKind for T where T: AsRef<str> {
25    seal!();
26}