NS_FATAL_x
macro definitions.
More...
#include "fatal-impl.h"
#include "log.h"
#include <cstdlib>
#include <exception>
#include <iostream>
#include <string_view>
Go to the source code of this file.
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Macros | |
#define | NS_FATAL_ERROR(msg) NS_FATAL_ERROR_IMPL(msg, true) |
Report a fatal error with a message and terminate. | |
#define | NS_FATAL_ERROR_CONT(msg) NS_FATAL_ERROR_IMPL(msg, false) |
Report a fatal error with a message, deferring termination. | |
#define | NS_FATAL_ERROR_IMPL(msg, fatal) |
Fatal error reporting with a message, implementation. | |
#define | NS_FATAL_ERROR_IMPL_NO_MSG(fatal) |
Fatal error reporting with no message, implementation. | |
#define | NS_FATAL_ERROR_NO_MSG() NS_FATAL_ERROR_IMPL_NO_MSG(true) |
Report a fatal error and terminate. | |
#define | NS_FATAL_ERROR_NO_MSG_CONT() NS_FATAL_ERROR_IMPL_NO_MSG(false) |
Report a fatal error, deferring termination. | |
Variables | |
constexpr std::string_view | ns3::NS_FATAL_MSG {"NS_FATAL, terminating"} |
Output string marking imminent invocation of std::terminate. | |
NS_FATAL_x
macro definitions.
Definition in file fatal-error.h.