Add 'throw' statement
This commit is contained in:
9
smnp/error/custom.py
Normal file
9
smnp/error/custom.py
Normal 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"
|
||||
Reference in New Issue
Block a user