Project
Loading...
Searching...
No Matches
DISocket.cxx File Reference
#include "DISocket.h"
#include <fairlogger/Logger.h>

Go to the source code of this file.

Macros

#define ASIO_CATCH(customMessage)
 

Macro Definition Documentation

◆ ASIO_CATCH

#define ASIO_CATCH (   customMessage)
Value:
catch (boost::system::system_error & err) \
{ \
auto msg = std::string{err.what()}; \
auto code = std::to_string(err.code().value()); \
throw std::runtime_error{"Exception in DataInspector (boost_code=" + code + ", boost_msg=" + msg + ") - " + customMessage}; \
}
std::string to_string(gsl::span< T, Size > span)
Definition common.h:52
uint64_t const void const *restrict const msg
Definition x9.h:153

Definition at line 14 of file DISocket.cxx.