include
grl
exception.hpp
Go to the documentation of this file.
1
#ifndef _GRL_EXCEPTION_HPP
2
#define _GRL_EXCEPTION_HPP
3
4
namespace
grl
{
5
6
/// @see http://stackoverflow.com/questions/12498001/adding-several-boosterror-infos-of-the-same-type-to-a-boostexception
7
typedef
boost::error_info<struct tag_errmsg, std::string>
errmsg_info
;
8
9
struct
driver_initialization_error
:
public
boost::exception,
public
std::exception
10
{
11
const
char
*
what
() const noexcept {
return
"driver initialization failed"
; }
12
};
13
}
14
#endif // _GRL_EXCEPTION_HPP
grl::driver_initialization_error
Definition:
exception.hpp:9
grl
Definition:
ArmControlState_generated.h:11
grl::errmsg_info
boost::error_info< struct tag_errmsg, std::string > errmsg_info
Definition:
exception.hpp:7
grl::driver_initialization_error::what
const char * what() const noexcept
Definition:
exception.hpp:11