Rudiments

error.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef ERROR_H
5 #define ERROR_H
6
7 #include <rudiments/private/errorincludes.h>
8
10 class RUDIMENTS_DLLSPEC error {
11 public:
13 static void clearError();
14
18 static void setErrorNumber(int32_t err);
19
22 static int32_t getErrorNumber();
23
28 static char *getErrorString();
29
36 static void clearNativeError();
37
44 static void setNativeErrorNumber(int32_t err);
45
52 static int32_t getNativeErrorNumber();
53
58 static char *getNativeErrorString();
59 };
60
61 #endif
error
Definition: error.h:10
error::getNativeErrorNumber
static int32_t getNativeErrorNumber()
error::getNativeErrorString
static char * getNativeErrorString()
error::setErrorNumber
static void setErrorNumber(int32_t err)
error::getErrorString
static char * getErrorString()
error::getErrorNumber
static int32_t getErrorNumber()
error::setNativeErrorNumber
static void setNativeErrorNumber(int32_t err)
error::clearNativeError
static void clearNativeError()
error::clearError
static void clearError()