Improve environment #2

This commit is contained in:
Bartłomiej Pluta
2019-07-04 12:02:46 +02:00
parent b60dedc769
commit f86055272e
2 changed files with 14 additions and 1 deletions

View File

@@ -9,3 +9,8 @@ class IllegalFunctionInvocationException(SmnpException):
class FunctionNotFoundException(SmnpException):
def __init__(self, function):
self.msg = f"Function '{function}' not found"
class MethodNotFoundException(SmnpException):
def __init__(self, object, method):
self.msg = f"Method '{method}' of type '{object}' not found"