|
Nektar++
|
#include <ErrorUtil.hpp>
Classes | |
| class | NekError |
Public Types | |
| enum | ErrType { efatal , ewarning } |
Static Public Member Functions | |
| static void | SetErrorStream (std::ostream &o) |
| static void | SetPrintBacktrace (bool b) |
| static bool | HasCustomErrorStream () |
| static void | Error (ErrType type, const char *routine, int lineNumber, const char *msg, unsigned int level, bool DoComm=false) |
| static void | Error (ErrType type, const char *routine, int lineNumber, const std::string &msg, unsigned int level) |
| static void | Error (ErrType type, const char *routine, int lineNumber, const char *msg) |
Static Private Attributes | |
| static std::ostream * | m_outStream = &std::cerr |
| static bool | m_printBacktrace = true |
Definition at line 54 of file ErrorUtil.hpp.
| Enumerator | |
|---|---|
| efatal | |
| ewarning | |
Definition at line 65 of file ErrorUtil.hpp.
|
inlinestatic |
Definition at line 185 of file ErrorUtil.hpp.
References Error(), and CellMLToNektar.pycml::msg.
|
inlinestatic |
Definition at line 86 of file ErrorUtil.hpp.
References efatal, ewarning, CellMLToNektar.pycml::level, m_printBacktrace, and CellMLToNektar.pycml::msg.
Referenced by Error().
|
inlinestatic |
Definition at line 179 of file ErrorUtil.hpp.
References Error(), CellMLToNektar.pycml::level, and CellMLToNektar.pycml::msg.
|
inlinestatic |
Definition at line 81 of file ErrorUtil.hpp.
References m_outStream.
Referenced by Nektar::UnitTests::RedirectCerrIfNeeded().
|
inlinestatic |
Definition at line 71 of file ErrorUtil.hpp.
References m_outStream.
Referenced by PYBIND11_MODULE(), and Nektar::UnitTests::RedirectCerrIfNeeded().
|
inlinestatic |
Definition at line 76 of file ErrorUtil.hpp.
References m_printBacktrace.
|
staticprivate |
Definition at line 192 of file ErrorUtil.hpp.
Referenced by HasCustomErrorStream(), and SetErrorStream().
|
staticprivate |
Definition at line 193 of file ErrorUtil.hpp.
Referenced by Error(), and SetPrintBacktrace().