spru-util 0.1.0

An experimental framework for building multiplayer strategy and digital board games.
Documentation
1
2
3
4
5
6
7
8
9
use spru::player;

#[derive(Debug, Clone, thiserror::Error)]
pub enum Error {
    #[error("Player with id {0} already exists")]
    PlayerAlreadyExists(player::Id),
    #[error("Player with id {0} does not exist")]
    PlayerDoesNotExist(player::Id),
}