eryon-core 0.0.4

The core modules of the eryon framework, providing essential functionality for computational entities.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
    Appellation: error <module>
    Contrib: FL03 <jo3mccain@icloud.com>
*/
#[cfg(feature = "alloc")]
use alloc::string::String;

/// the various errors that can occur in the state module
#[derive(Debug, thiserror::Error)]
pub enum StateError {
    #[cfg(feature = "alloc")]
    #[error("Invalid State: {0}")]
    InvalidState(String),
    #[error("State Not Found")]
    StateNotFound,
}