Add 'throw' statement

This commit is contained in:
Bartłomiej Pluta
2019-07-13 14:48:58 +02:00
parent a07b226edb
commit 86cf5d01f3
7 changed files with 52 additions and 2 deletions

9
smnp/error/custom.py Normal file
View File

@@ -0,0 +1,9 @@
from smnp.error.base import SmnpException
class CustomException(SmnpException):
def __init__(self, message, pos):
super().__init__(message, pos)
def _title(self):
return "Execution Error"