eryon_core/state/
error.rs

1/*
2    Appellation: error <module>
3    Contrib: FL03 <jo3mccain@icloud.com>
4*/
5#[cfg(feature = "alloc")]
6use alloc::string::String;
7
8/// the various errors that can occur in the state module
9#[derive(Debug, thiserror::Error)]
10pub enum StateError {
11    #[cfg(feature = "alloc")]
12    #[error("Invalid State: {0}")]
13    InvalidState(String),
14    #[error("State Not Found")]
15    StateNotFound,
16}