Rudiments
error.h
1 // Copyright (c) 2005 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 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
15 class RUDIMENTS_DLLSPEC error {
16  public:
18  static void clearError();
19 
23  static void setErrorNumber(int32_t err);
24 
27  static int32_t getErrorNumber();
28 
32  static const char *getErrorString();
33 };
34 
35 #ifdef RUDIMENTS_NAMESPACE
36 }
37 #endif
38 
39 #endif