summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-17 18:54:34 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-17 20:10:55 +0900
commit49bddf8f0e7e80db1273349f90bb5599b4b1fea1 (patch)
treefcaec6a9c74f51bbdf10a630ff572dbe851c1a6d
parent24efda780d0843591ac592ebfc7b028f5dccf557 (diff)
downloadbuildstream-49bddf8f0e7e80db1273349f90bb5599b4b1fea1.tar.gz
exceptions.py: Added LoadErrorReason.TRAILING_LIST_DIRECTIVE
-rw-r--r--buildstream/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/exceptions.py b/buildstream/exceptions.py
index c33e7d7bf..7e334a369 100644
--- a/buildstream/exceptions.py
+++ b/buildstream/exceptions.py
@@ -103,6 +103,9 @@ class LoadErrorReason(Enum):
USER_ASSERTION = 9
"""An assertion was intentionally encoded into project YAML"""
+ TRAILING_LIST_DIRECTIVE = 10
+ """A list composition directive did not apply to any underlying list"""
+
class LoadError(_BstError):
"""Raised while loading some YAML.