Improve support for functions #2

This commit is contained in:
Bartłomiej Pluta
2019-07-04 11:31:02 +02:00
parent 6390ac20de
commit ce101df380
7 changed files with 96 additions and 50 deletions

6
smnp/error/function.py Normal file
View File

@@ -0,0 +1,6 @@
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}"