| 1 | /* |
| 2 | * SPDX-FileCopyrightText: (C) 2019-2022 swift Project Community / Contributors (https://swift-project.org/) |
| 3 | * SPDX-FileCopyrightText: (C) 2019-2022 Lars Toenning <[email protected]> |
| 4 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 5 | */ |
| 6 | |
| 7 | #include "dbuserror.h" |
| 8 | |
| 9 | namespace flightgear::swift { |
| 10 | |
| 11 | CDBusError::CDBusError(const DBusError* error) |
| 12 | : m_name(error->name), m_message(error->message) |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | } // namespace flightgear::swift |