Eric Shienbrood | 5de44ab | 2011-12-05 10:46:27 -0500 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef SHILL_CELLULAR_ERROR_ |
| 6 | #define SHILL_CELLULAR_ERROR_ |
| 7 | |
| 8 | #include <dbus-c++/error.h> |
| 9 | |
| 10 | #include "shill/error.h" |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class CellularError { |
| 15 | public: |
| 16 | static void FromDBusError(const DBus::Error &dbus_error, Error *error); |
| 17 | |
| 18 | private: |
| 19 | DISALLOW_COPY_AND_ASSIGN(CellularError); |
| 20 | }; |
| 21 | |
| 22 | } // namespace shill |
| 23 | |
| 24 | #endif // SHILL_CELLULAR_ERROR_ |