
#include "gzDistBase.h"
Go to the source code of this file.
Classes | |
| class | gzDistError |
| Encapsulates error information. More... | |
Enumerations | |
| enum | gzDistErrorCode |
| gzDistError error codes. | |
| enum | gzDistErrorLevel { GZ_DIST_ERROR_DEBUG = 0, GZ_DIST_ERROR_NOTICE, GZ_DIST_ERROR_WARNING, GZ_DIST_ERROR_FATAL } |
| gzDistError error levels More... | |
Functions | |
| gzVoid | gzDistReportLastError (gzBool clear=FALSE) |
| Report the last error for the current thread. | |
| gzDistError | gzDistGetLastError (gzBool clear=FALSE) |
| Get the last error for the current thread. | |
| gzVoid | gzDistSetLastError (const gzDistErrorCode &code, const gzDistErrorLevel &level) |
| Set the last gzDistError for the current thread. | |
| gzVoid | gzDistSetLastError (const gzDistErrorCode &code, const gzDistErrorLevel &level, const gzString &additional) |
| Set the last gzDistError for the current thread. | |
| gzVoid | gzDistSetLastError (const gzDistError &error) |
| Set the last gzDistError for the current thread. | |
| gzVoid | gzDistClearLastError () |
| Clear the last error for the current thread. | |
| gzVoid | gzDistClearAllErrors () |
| Clear the last error for all threads. | |
Variables | |
| const gzDistError | GZ_DIST_OK (GZ_DIST_NO_ERROR, GZ_DIST_ERROR_NOTICE) |
| Definition of the default OK (not really an error). | |
The class gzDistError encapsulates error information. The last error is stored per thread. The functions gzDistSetLastError, gzDistGetLastError, gzDistReportLastError and gzDistClearLastError are used for handling the last error in the current thread.
Definition in file gzDistError.h.
|
|
gzDistError error levels
Definition at line 133 of file gzDistError.h. |
|
|
Report the last error for the current thread.
|
|
|
Get the last error for the current thread.
|
|
||||||||||||
|
Set the last gzDistError for the current thread.
|
|
||||||||||||||||
|
Set the last gzDistError for the current thread.
|
|
|
Set the last gzDistError for the current thread.
|
|
|
Clear the last error for all threads. Called from gzDistManager at shutdown. |