We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b63a2b commit 1af4b0cCopy full SHA for 1af4b0c
2 files changed
OMPython/OMCSession.py
@@ -75,6 +75,10 @@ def wait(self, timeout):
75
return self.process.wait(timeout=timeout)
76
77
78
+class OMCSessionException(Exception):
79
+ pass
80
+
81
82
class OMCSessionBase(metaclass=abc.ABCMeta):
83
84
def __init__(self, readonly=False):
OMPython/__init__.py
@@ -38,7 +38,7 @@
38
39
import logging
40
41
-from OMPython.OMCSession import OMCSessionBase, OMCSessionZMQ
+from OMPython.OMCSession import OMCSessionBase, OMCSessionZMQ, OMCSessionException
42
from OMPython.ModelicaSystem import ModelicaSystem, ModelicaSystemError, LinearizationResult
43
44
# Logger Defined
@@ -63,6 +63,7 @@
63
'ModelicaSystemError',
64
'LinearizationResult',
65
66
+ 'OMCSessionException',
67
'OMCSessionZMQ',
68
'OMCSessionBase',
69
]
0 commit comments