Improve environment #1
This commit is contained in:
@@ -3,4 +3,9 @@ from smnp.error.base import SmnpException
|
||||
|
||||
class IllegalFunctionInvocationException(SmnpException):
|
||||
def __init__(self, expected, found):
|
||||
self.msg = f"Illegal function invocation\n\nExpected signature:\n{expected}\n\nFound:\n{found}"
|
||||
self.msg = f"Illegal function invocation\n\nExpected signature:\n{expected}\n\nFound:\n{found}"
|
||||
|
||||
|
||||
class FunctionNotFoundException(SmnpException):
|
||||
def __init__(self, function):
|
||||
self.msg = f"Function '{function}' not found"
|
||||
|
||||
Reference in New Issue
Block a user