A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
Core example: NS_FATAL error handlers

Example program illustrating use of the NS_FATAL error handlers. More...

+ Collaboration diagram for Core example: NS_FATAL error handlers:

Functions

void Fatal ()
 Triggers a fatal error with message, and terminating.
 
void FatalCont ()
 Triggers a fatal error with an error message, deferring termination.
 
void FatalNoMsg ()
 Triggers a fatal error without message, deferring termination.
 

Detailed Description

Example program illustrating use of the NS_FATAL error handlers.

Function Documentation

◆ Fatal()

void Fatal ( )

Triggers a fatal error with message, and terminating.

Definition at line 64 of file fatal-example.cc.

References NS_FATAL_ERROR.

◆ FatalCont()

void FatalCont ( )

Triggers a fatal error with an error message, deferring termination.

Definition at line 53 of file fatal-example.cc.

References NS_FATAL_ERROR_CONT.

◆ FatalNoMsg()

void FatalNoMsg ( )

Triggers a fatal error without message, deferring termination.

Definition at line 42 of file fatal-example.cc.

References NS_FATAL_ERROR_NO_MSG_CONT.