blob: 03fc3888684c0417125d877e6a3c9bef470a0a06 [file] [log] [blame]
Eric Shienbrood5de44ab2011-12-05 10:46:27 -05001// 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
12namespace shill {
13
14class CellularError {
15 public:
16 static void FromDBusError(const DBus::Error &dbus_error, Error *error);
17
Arman Uguray763df862013-07-02 12:49:10 -070018 static void FromMM1DBusError(const DBus::Error &dbus_error, Error *error);
19
Eric Shienbrood5de44ab2011-12-05 10:46:27 -050020 private:
21 DISALLOW_COPY_AND_ASSIGN(CellularError);
22};
23
24} // namespace shill
25
26#endif // SHILL_CELLULAR_ERROR_