Closed 46bit closed 8 years ago
PlayerConnection error messages should be used in CauseOfDeath::NoMoveMade(MoveError).
PlayerConnection
CauseOfDeath::NoMoveMade(MoveError)
io::Error
GameState
Err(error message from PlayerConnection)
game_state.snake_plans
PlayerConnection
error messages should be used inCauseOfDeath::NoMoveMade(MoveError)
.PlayerConnection
error handling. It is painfully built on top ofio::Error
because I was too much a newbie.PlayerConnection
toGameState
by puttingErr(error message from PlayerConnection)
intogame_state.snake_plans
.