Struct FatalException

Inheritance Relationships

Base Type

  • public std::runtime_error

Derived Type

Struct Documentation

struct FatalException : public std::runtime_error

This is called any time a fatal exception is called and the program is unwound and ended.

Subclassed by necsim::ConfigException

Public Functions

FatalException()
FatalException(string msg)

Writes the message out to the logger if debug mode is enabled, otherwise just throws a runtime_error.

Parameters
  • msg: the message to write out and pass to runtime_error