1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #ifndef COMMONAPI_DBUS_DBUS_ERROR_H_
5 #define COMMONAPI_DBUS_DBUS_ERROR_H_
21 operator bool() const;
25 std::string getName() const;
26 std::string getMessage() const;
29 ::DBusError libdbusError_;
31 friend class DBusConnection;
35 } // namespace CommonAPI
37 #endif // COMMONAPI_DBUS_DBUS_ERROR_H_