DUDS
Distributed Update of Data from Something
DeviceErrors.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of the DUDS project. It is subject to the BSD-style
3  * license terms in the LICENSE file found in the top-level directory of this
4  * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
5  * No part of DUDS, including this file, may be copied, modified, propagated,
6  * or distributed except according to the terms contained in the LICENSE file.
7  *
8  * Copyright (C) 2017 Jeff Jackowski
9  */
10 #ifndef DEVICEERRORS_HPP
11 #define DEVICEERRORS_HPP
12 
13 #include <boost/exception/info.hpp>
14 
15 namespace duds { namespace hardware {
16 
21 namespace devices {
22 
31 struct DeviceError : virtual std::exception, virtual boost::exception { };
32 
38 
44 
45 } } }
46 
47 #endif // #ifndef DEVICEERRORS_HPP
An attempt was made to use a device prior to running a required initialization step.
The base type for errors from devices.
An attempt was made to use a device that seems to exist, but the responding device is not the type th...