pub type StateResult<T> = Result<T, StateError>;
pub enum StateResult<T> { Ok(T), Err(StateError), }
Contains the success value
Contains the error value