|
DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
|
#include <cstdlib>#include <iostream>#include <sstream>#include "common-utils/errors/traits/isFatal.hpp"#include "common-utils/errors/utils/errorTypes.hpp"Go to the source code of this file.
Namespaces | |
| namespace | CppUtils |
| namespace | CppUtils::Errors |
Functions | |
| template<ErrorSeverity Severity = ErrorSeverity::Warning> | |
| void | CppUtils::Errors::printErrorMessage (const ErrorMessage &error) |
Variables | |
| auto | CppUtils::Errors::printFatalErrorMessage = [](const ErrorMessage& error) { printErrorMessage<ErrorSeverity::Fatal>(error); } |
| A convenience function for printing an error message when said error is fatal. | |