The Error struct erzeugt Fehlermeldungen.
More...
#include <xerror.h>
|
| static std::string | msg (const char *file, int line, const char *func) |
| | msg Text einer Fehlermeldung zusammengesetzt aus More...
|
| |
| template<class T > |
| static std::string | msgx (const T &msg, const char *file, int line, const char *func) |
| | info Text einer Fehlermeldung zusammengesetzt aus More...
|
| |
The Error struct erzeugt Fehlermeldungen.
Definition at line 11 of file xerror.h.
◆ msg()
| static std::string nmx::Error::msg |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlinestatic |
msg Text einer Fehlermeldung zusammengesetzt aus
- Parameters
-
| file | Dateinamen |
| line | Zeilennummer |
| func | Funktionsnamen |
- Returns
- Fehlermeldung als Zeichenkette
Definition at line 19 of file xerror.h.
◆ msgx()
template<class T >
| static std::string nmx::Error::msgx |
( |
const T & |
msg, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlinestatic |
info Text einer Fehlermeldung zusammengesetzt aus
- Parameters
-
| msg | allgemeine Nachricht |
| file | Dateinamen |
| line | Zeilennummer |
| func | Funktionsnamen |
- Returns
- Fehlermeldung als Zeichenkette
Definition at line 34 of file xerror.h.
The documentation for this struct was generated from the following file: