{"action":"opened","issue":{"url":"https://api.github.com/repos/gamerDecathlete/CommandConsoleChess/issues/5","labels_url":"https://api.github.com/repos/gamerDecathlete/CommandConsoleChess/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/gamerDecathlete/CommandConsoleChess/issues/5/comments","events_url":"https://api.github.com/repos/gamerDecathlete/CommandConsoleChess/issues/5/events","html_url":"https://github.com/gamerDecathlete/CommandConsoleChess/issues/5","id":99278564,"number":5,"title":"Add exception handling in place of boolean return types for invalid input","user":{"login":"gamerDecathlete","id":10580307,"avatar_url":"https://avatars.githubusercontent.com/u/10580307?v=3","gravatar_id":"","url":"https://api.github.com/users/gamerDecathlete","html_url":"https://github.com/gamerDecathlete","followers_url":"https://api.github.com/users/gamerDecathlete/followers","following_url":"https://api.github.com/users/gamerDecathlete/following{/other_user}","gists_url":"https://api.github.com/users/gamerDecathlete/gists{/gist_id}","starred_url":"https://api.github.com/users/gamerDecathlete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamerDecathlete/subscriptions","organizations_url":"https://api.github.com/users/gamerDecathlete/orgs","repos_url":"https://api.github.com/users/gamerDecathlete/repos","events_url":"https://api.github.com/users/gamerDecathlete/events{/privacy}","received_events_url":"https://api.github.com/users/gamerDecathlete/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-05T19:21:44Z","updated_at":"2015-08-05T19:21:44Z","closed_at":null,"body":"Currently, whenever something goes wrong with the input for moving chess pieces, or other kinds of input, there are boolean values used to handle those cases. This is a prime opportunity to add exception handling to make it more eloquent.\r\n* Create Exception classes for the different inputs\r\n* Change return types to void where use boolean\r\n* Add try catch blocks as needed "}}