Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
OE::OverlappingOccultation | OE::Occultation |
OE::BadPieceStateForOperation
=> Status::Conflict,
- InvalidZCoord | BadOperation | BadJSON(_)
+ BadOperation | BadJSON(_)
=> Status::BadRequest,
}
}
NoClient,
#[error("player not part of game (removed?)")]
NoPlayer(#[from] PlayerNotFound),
- #[error("invalid Z coordinate")]
- InvalidZCoord,
#[error("Server operational problems - consult administrator: {0}")]
ServerFailure(#[from] InternalError),
#[error("JSON deserialisation error: {0}")]