X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=dunshire%2Ferrors.py;h=c58a57bdbfdc7c599164684af8590c1308426287;hb=d5b8c807fe3ce495dbf8c76ac718a7d99a273111;hp=b63344a0311e9c843cdeb189c903902de4a2179b;hpb=ed86c0467de2f8903d9a18c28fa478412cd9a52e;p=dunshire.git diff --git a/dunshire/errors.py b/dunshire/errors.py index b63344a..c58a57b 100644 --- a/dunshire/errors.py +++ b/dunshire/errors.py @@ -49,6 +49,9 @@ class GameUnsolvableException(Exception): Parameters ---------- + game : SymmetricLinearGame + A copy of the game whose solution failed. + solution_dict : dict The solution dictionary returned from the failed cone program. @@ -114,7 +117,7 @@ class GameUnsolvableException(Exception): """ def __init__(self, game, solution_dict): """ - Create a new GameUnsolvableException object. + Create a new :class:`GameUnsolvableException` object. """ super().__init__() self._game = game @@ -127,7 +130,7 @@ class GameUnsolvableException(Exception): The returned representation highlights the "status" field of the CVXOPT dictionary, since that should explain what went - wrong. The game details and full CVXOPT solution dictionary is + wrong. The game details and full CVXOPT solution dictionary are included after the status. """ tpl = 'Solution failed with result "{:s}."\n' \