sdbus++: parse error info yaml
Change-Id: I73361b6f9b48b32a206d1e6d3e52ff46195b3cbc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/tools/sdbus++ b/tools/sdbus++
index 2e4e330..db96b1f 100755
--- a/tools/sdbus++
+++ b/tools/sdbus++
@@ -9,10 +9,12 @@
def main():
module_path = os.path.dirname(sdbusplus.__file__)
- valid_types = {'interface': sdbusplus.Interface}
+ valid_types = {'interface': sdbusplus.Interface,
+ 'error': sdbusplus.Error}
valid_processes = {'markdown': "markdown",
'server-header': "server_header",
- 'server-cpp': "server_cpp"}
+ 'server-cpp': "server_cpp",
+ 'exception-header': "exception_header"}
parser = argparse.ArgumentParser(description='Process sdbus++ YAML files.')