Add 'chess_board::InvalidError'

This commit is contained in:
Bruno BELANYI 2024-04-01 20:21:05 +01:00
parent c3a9a55be1
commit 5ddab6af0e
2 changed files with 53 additions and 0 deletions

View file

@ -5,6 +5,9 @@ use crate::{
use super::{Bitboard, CastleRights, Color, File, Move, Piece, Rank, Square};
mod error;
pub use error::*;
/// Represent an on-going chess game.
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct ChessBoard {