From 08b9469e2c71e06fdd70d607f281686746755073 Mon Sep 17 00:00:00 2001 From: Satya Ortiz-Gagne Date: Mon, 10 Jun 2019 10:20:39 -0400 Subject: DAIDE - Added connection_handler and server - Ability to open and close port when DAIDE games are started and stopped - Can get the DAIDE port using a request --- diplomacy/utils/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'diplomacy/utils') diff --git a/diplomacy/utils/exceptions.py b/diplomacy/utils/exceptions.py index 5cf4384..138bed9 100644 --- a/diplomacy/utils/exceptions.py +++ b/diplomacy/utils/exceptions.py @@ -86,6 +86,9 @@ class RequestException(ResponseException): class AdminTokenException(ResponseException): """ Invalid token for admin operations. """ +class DaidePortException(ResponseException): + """ Daide server not started for the game """ + class GameCanceledException(ResponseException): """ Game was cancelled. """ -- cgit v1.2.3