diff options
| author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-01 16:53:35 +0900 |
|---|---|---|
| committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-08 17:03:59 +0900 |
| commit | fbbe5c158cd12a642ba8ce4eaa91e5a5c7912522 (patch) | |
| tree | ae680a336d254a252882b95aa28ea6262325b97a | |
| parent | 0ec8a1e623c07d8096a0aa1118daec0fdf259620 (diff) | |
| download | buildstream-fbbe5c158cd12a642ba8ce4eaa91e5a5c7912522.tar.gz | |
exceptions.py: Added LoadErrorReason.EXPRESSION_FAILED
For handling failed jinja2 expression evaluation.
| -rw-r--r-- | buildstream/exceptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/exceptions.py b/buildstream/exceptions.py index b96c43921..49aef8ec8 100644 --- a/buildstream/exceptions.py +++ b/buildstream/exceptions.py @@ -84,6 +84,9 @@ class LoadErrorReason(Enum): UNSUPPORTED_PROJECT = 7 """BuildStream does not support the required project format version""" + EXPRESSION_FAILED = 8 + """A conditional expression failed to resolve""" + class LoadError(_BstError): """Raised while loading some YAML. |
