equal
deleted
inserted
replaced
108 __bytes__ = _tobytes |
108 __bytes__ = _tobytes |
109 |
109 |
110 |
110 |
111 class UnknownCommand(Exception): |
111 class UnknownCommand(Exception): |
112 """Exception raised if command is not in the command table.""" |
112 """Exception raised if command is not in the command table.""" |
|
113 |
|
114 def __init__(self, command, all_commands=None): |
|
115 self.command = command |
|
116 self.all_commands = all_commands |
|
117 super(UnknownCommand, self).__init__() |
113 |
118 |
114 __bytes__ = _tobytes |
119 __bytes__ = _tobytes |
115 |
120 |
116 |
121 |
117 class AmbiguousCommand(Exception): |
122 class AmbiguousCommand(Exception): |