You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
301 B
12 lines
301 B
12 years ago
|
__all__ = ["DelugeRPCError"]
|
||
|
|
||
|
class DelugeRPCError(Exception):
|
||
|
def __init__(self, name, msg, traceback):
|
||
|
self.name = name
|
||
|
self.msg = msg
|
||
|
self.traceback = traceback
|
||
|
|
||
|
def __str__(self):
|
||
|
return "{0}: {1}: {2}".format(self.__class__.__name__, self.name, self.msg)
|
||
|
|