#include "ndn-cxx/detail/common.hpp"
#include <cerrno>
#include <boost/exception_ptr.hpp>
#include <boost/exception/enable_current_exception.hpp>
#include <boost/exception/enable_error_info.hpp>
#include <boost/exception/errinfo_errno.hpp>
#include <boost/exception/errinfo_nested_exception.hpp>
#include <boost/stacktrace/stacktrace.hpp>
Go to the source code of this file.
◆ NDN_THROW
Value: throw boost::enable_current_exception(boost::enable_error_info(e)) \
<< boost::throw_file(__FILE__) \
<< boost::throw_line(__LINE__) \
<< boost::throw_function(__func__) \
NDN_DETAIL_THROW_STACKTRACE
Definition at line 61 of file exception.hpp.
◆ NDN_THROW_ERRNO
#define NDN_THROW_ERRNO |
( |
|
e | ) |
NDN_THROW(e) << boost::errinfo_errno(errno) |
◆ NDN_THROW_NESTED
#define NDN_THROW_NESTED |
( |
|
e | ) |
NDN_THROW(e) << boost::errinfo_nested_exception(boost::current_exception()) |