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
Definition: error.h:10