[board] Add MakeMoveError::IllegalSquare(Square)
This commit is contained in:
parent
9a8380573b
commit
7424236f1d
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ pub enum MakeMoveError {
|
|||
NoPiece,
|
||||
NoCapturedPiece,
|
||||
IllegalCastle,
|
||||
IllegalSquare(Square),
|
||||
}
|
||||
|
||||
mod castle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue