A Discrete-Event Network Simulator
API
fatal-error.h File Reference

NS_FATAL_x macro definitions. More...

#include <iostream>
#include <exception>
#include <cstdlib>
#include "fatal-impl.h"
#include "log.h"
+ Include dependency graph for fatal-error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NS_FATAL_ERROR(msg)   NS_FATAL_ERROR_IMPL (msg, true)
 Report a fatal error with a message and terminate. More...
 
#define NS_FATAL_ERROR_CONT(msg)   NS_FATAL_ERROR_IMPL (msg, false)
 Report a fatal error with a message, deferring termination. More...
 
#define NS_FATAL_ERROR_IMPL(msg, fatal)
 Fatal error reporting with a message, implementation. More...
 
#define NS_FATAL_ERROR_IMPL_NO_MSG(fatal)
 Fatal error reporting with no message, implementation. More...
 
#define NS_FATAL_ERROR_NO_MSG()   NS_FATAL_ERROR_IMPL_NO_MSG (true)
 Report a fatal error and terminate. More...
 
#define NS_FATAL_ERROR_NO_MSG_CONT()   NS_FATAL_ERROR_IMPL_NO_MSG (false)
 Report a fatal error, deferring termination. More...
 

Detailed Description

NS_FATAL_x macro definitions.

Definition in file fatal-error.h.