From 8aa7e8b6c2ca418aafddf4ce308a9d0ff56cf467 Mon Sep 17 00:00:00 2001 From: Thomas Coldrick Date: Fri, 17 Jan 2020 15:22:06 +0000 Subject: exceptions: Expose ErrorDomain, ErrorLoadReason MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plugin tests are already accessing this API, but using imports from private modules. For motivation for this to be exposed publicly, note that ErrorDomain is an argument for most things in runcli.py, and LoadErrorReason may be another. --- src/buildstream/_includes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildstream/_includes.py') diff --git a/src/buildstream/_includes.py b/src/buildstream/_includes.py index bc0d7718b..b49560947 100644 --- a/src/buildstream/_includes.py +++ b/src/buildstream/_includes.py @@ -1,7 +1,8 @@ import os from . import _yaml from .node import MappingNode, ScalarNode, SequenceNode -from ._exceptions import LoadError, LoadErrorReason +from ._exceptions import LoadError +from .exceptions import LoadErrorReason # Includes() -- cgit v1.2.1