21 #ifndef LELY_COAPP_INTERN_COAPP_HPP_ 22 #define LELY_COAPP_INTERN_COAPP_HPP_ 28 #define LELY_COAPP_INTERN 1 33 #include <system_error> 42 throw_errc(
const char* what,
int errc =
get_errc()) {
43 throw ::std::system_error(errc, ::std::system_category(), what);
52 #endif // LELY_COAPP_INTERN_COAPP_HPP_ This is the public header file of the C++ CANopen application library.
This header file is part of the utilities library; it contains the configuration functions.
This header file is part of the utilities library; it contains the native and platform-independent er...
int get_errc(void)
Returns the last (thread-specific) native error code set by a system call or library function...
Global namespace for the Lely Industries N.V. libraries.
#define _Noreturn
A function declared with a _Noreturn function specifier SHALL not return to its caller.