mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-05 14:50:21 +00:00
Initial commit of Ccnet server.
This commit is contained in:
7
python/ccnet/errors.py
Normal file
7
python/ccnet/errors.py
Normal file
@@ -0,0 +1,7 @@
|
||||
class NetworkError(Exception):
|
||||
def __init__(self, msg):
|
||||
Exception.__init__(self)
|
||||
self.msg = msg
|
||||
|
||||
def __str__(self):
|
||||
return self.msg
|
Reference in New Issue
Block a user