Skip to content
Permalink
Browse files
Update Program.cs
  • Loading branch information
villamizae committed Nov 19, 2021
1 parent b5f3ffb commit 99383457ac4fd617d0c56f7c920375e16d529bcc
Showing 1 changed file with 2 additions and 0 deletions.
@@ -617,6 +617,8 @@ namespace ChessTest3

catch (SystemException)
{ //This should prevent crashes when user inputs incorrectly when typing coordinates
//This is an exception ot the other error checks as it's concerning
//What the user has actually inputted into the program
ErrorChecking.Error("Wrong Input format, should be: X, Y, try again");
}
return result;

0 comments on commit 9938345

Please sign in to comment.