Dripline-Cpp  v2.4.2
Dripline Implementation in C++
dripline_exceptions.hh
Go to the documentation of this file.
1 /*
2  * dripline_exceptions.hh
3  *
4  * Created on: Aug 14, 2018
5  * Author: N.S. Oblath
6  */
7 
8 #ifndef DRIPLINE_EXCEPTIONS_HH_
9 #define DRIPLINE_EXCEPTIONS_HH_
10 
11 #include "dripline_api.hh"
12 
13 #include "base_exception.hh"
14 
15 
16 namespace dripline
17 {
18 
30  class DRIPLINE_API dripline_error : public scarab::base_exception< dripline_error >
31  {
32  public:
33  dripline_error() = default;
34  dripline_error( const dripline_error& ) = default;
35  virtual ~dripline_error() noexcept = default;
36  };
37 
43  class DRIPLINE_API connection_error : public scarab::base_exception< connection_error >
44  {
45  public:
46  connection_error() = default;
47  connection_error( const connection_error& ) = default;
48  virtual ~connection_error() noexcept = default;
49  };
50 
51 }
52 
53 #endif /* DRIPLINE_EXCEPTIONS_HH_ */
Dripline-specific errors.
#define DRIPLINE_API
Definition: dripline_api.hh:34
Error indicating a problem with the connection to the broker.