From: Ian Jackson Date: Sat, 15 May 2021 23:32:38 +0000 (+0100) Subject: errors: Abolish obsolete MgmtError::GameCorrupted X-Git-Tag: otter-0.6.0~239 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4c0c6f9e87ae44547e41d31db341b91f14d2492e;p=otter.git errors: Abolish obsolete MgmtError::GameCorrupted Signed-off-by: Ian Jackson --- diff --git a/src/commands.rs b/src/commands.rs index c00f870d..823b5e7d 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -222,7 +222,6 @@ pub enum MgmtError { #[error("game already has player with that nick")] NickCollision, #[error("{0}")] GameBeingDestroyed (#[from] GameBeingDestroyed), #[error("game not found")] GameNotFound, - #[error("xxx GameCorrupted")] GameCorrupted, #[error("{0}")] AccountNotFound (#[from] AccountNotFound), #[error("{0}")] PlayerNotFound (#[from] PlayerNotFound), #[error("piece not found in game")] PieceNotFound,