summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-03-03 09:38:25 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-03-03 09:38:25 -0600
commitc3231059a7c40d9ae7f8ac8f1b25737d9ce35cfc (patch)
tree15aa9aeba96b223d4495eff0f0fe828c62b3492e /tools
parentfd43ef731e187bd8717a688d90c99143a47ca3db (diff)
downloadsdbusplus-c3231059a7c40d9ae7f8ac8f1b25737d9ce35cfc.tar.gz
sdbusplus-c3231059a7c40d9ae7f8ac8f1b25737d9ce35cfc.zip
sdbusplus: automatically add 'Error' to error dbus paths
Change-Id: I83d51e9aaa165e646ce711cc8bc551f010edc448 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'tools')
-rw-r--r--tools/sdbusplus/templates/error.mako.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sdbusplus/templates/error.mako.hpp b/tools/sdbusplus/templates/error.mako.hpp
index 2f34882..a64eac0 100644
--- a/tools/sdbusplus/templates/error.mako.hpp
+++ b/tools/sdbusplus/templates/error.mako.hpp
@@ -14,11 +14,11 @@ namespace Error
% for e in error.errors:
struct ${e.name} final : public sdbusplus::exception_t
{
- static constexpr auto errName = "${error.name}.${e.name}";
+ static constexpr auto errName = "${error.name}.Error.${e.name}";
static constexpr auto errDesc =
"${e.description.strip()}";
static constexpr auto errWhat =
- "${error.name}.${e.name}: ${e.description.strip()}";
+ "${error.name}.Error.${e.name}: ${e.description.strip()}";
const char* name() const noexcept override;
const char* description() const noexcept override;
OpenPOWER on IntegriCloud