Revision: 354
http://svn.sourceforge.net/pybridge/?rev=354&view=rev
Author: umgangee
Date: 2007-02-28 10:11:30 -0800 (Wed, 28 Feb 2007)
Log Message:
-----------
Expanded docstrings of error classes.
Modified Paths:
--------------
trunk/pybridge/pybridge/network/error.py
Modified: trunk/pybridge/pybridge/network/error.py
===================================================================
--- trunk/pybridge/pybridge/network/error.py 2007-02-21 19:09:09 UTC (rev 353)
+++ trunk/pybridge/pybridge/network/error.py 2007-02-28 18:11:30 UTC (rev 354)
@@ -1,5 +1,5 @@
# PyBridge -- online contract bridge made easy.
-# Copyright (C) 2004-2006 PyBridge Project.
+# Copyright (C) 2004-2007 PyBridge Project.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -10,7 +10,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@@ -19,11 +19,17 @@
from twisted.spread import pb
-# Base errors.
-
class DeniedRequest(pb.Error):
- """Raised in response to an unsatisfiable request."""
+ """Raised by server in response to an unsatisfiable request from client."""
+
class IllegalRequest(pb.Error):
- """Raised in response to an erroneous request."""
+ """Raised by server in response to an erroneous request from client.
+
+ The propagation of this error from server to client suggests there is a bug
+ in the client code (ie. sending invalid or ill-formatted data to the server)
+ or in the server code (ie. mishandling data).
+
+ Please report any bugs which you discover in PyBridge!
+ """
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|