pub type GameResult<T = ()> = Result<T, GameError>;
A convenient result type consisting of a return type and a GameError
GameError
pub enum GameResult<T = ()> { Ok(T), Err(GameError), }
Contains the success value
Contains the error value