summaryrefslogtreecommitdiff
path: root/src/buildstream/_exceptions.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2019-08-08 10:24:36 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2019-08-08 15:47:48 +0100
commit65aae976f7eb53569c3456c58389721511af61ef (patch)
tree588db9ab0db93d13a2f2984d78d25d8e27bff998 /src/buildstream/_exceptions.py
parent33af5af4f5cf728e416aac1d6a2f2310969a6a93 (diff)
downloadbuildstream-65aae976f7eb53569c3456c58389721511af61ef.tar.gz
_exception: Add DUPLICATE_DEPENDENCY to LoadErrorReason
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'src/buildstream/_exceptions.py')
-rw-r--r--src/buildstream/_exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/_exceptions.py b/src/buildstream/_exceptions.py
index d5b87a85e..648742dbb 100644
--- a/src/buildstream/_exceptions.py
+++ b/src/buildstream/_exceptions.py
@@ -225,6 +225,9 @@ class LoadErrorReason(Enum):
# An attempt so set the value of a protected variable
PROTECTED_VARIABLE_REDEFINED = 23
+ # A duplicate dependency was detected
+ DUPLICATE_DEPENDENCY = 24
+
# LoadError
#