aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase/interpreterbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/interpreterbase/interpreterbase.py')
-rw-r--r--mesonbuild/interpreterbase/interpreterbase.py27
1 files changed, 9 insertions, 18 deletions
diff --git a/mesonbuild/interpreterbase/interpreterbase.py b/mesonbuild/interpreterbase/interpreterbase.py
index 4bdd7e2..708741a 100644
--- a/mesonbuild/interpreterbase/interpreterbase.py
+++ b/mesonbuild/interpreterbase/interpreterbase.py
@@ -18,6 +18,15 @@
from .. import mparser, mesonlib, mlog
from .. import environment, dependencies
+from .exceptions import (
+ InterpreterException,
+ InvalidCode,
+ InvalidArguments,
+ SubdirDoneRequest,
+ ContinueRequest,
+ BreakRequest
+)
+
from functools import wraps
import abc
import collections.abc
@@ -703,24 +712,6 @@ class FeatureDeprecatedKwargs(FeatureCheckKwargsBase):
feature_check_class = FeatureDeprecated
-class InterpreterException(mesonlib.MesonException):
- pass
-
-class InvalidCode(InterpreterException):
- pass
-
-class InvalidArguments(InterpreterException):
- pass
-
-class SubdirDoneRequest(BaseException):
- pass
-
-class ContinueRequest(BaseException):
- pass
-
-class BreakRequest(BaseException):
- pass
-
class MutableInterpreterObject(InterpreterObject):
def __init__(self) -> None:
super().__init__()