SCENE C++ API  2.0.22
lserror.h
1 #pragma once
2 
3 #include <core_api/lsreftype.h>
4 #include <core_api/lsinterface.h>
5 #include <core_api/lsstring.h>
6 
7 namespace SCENE_API {
8 
9 // Forward declarations
10 class LSError_Implementation;
11 
14 class LSError : public LSInterface, public LSRefType
15 {
16 public:
19  CORE_API_EXPORT LSError(const LSError& from);
20  CORE_API_EXPORT LSError& operator=(const LSError& from);
21 
24  CORE_API_EXPORT LSString getName() const;
25 
28  CORE_API_EXPORT LSString getMessage() const;
29 
31  CORE_API_EXPORT void* operator new(size_t tSize);
32  CORE_API_EXPORT void operator delete(void* p);
33 
34 protected:
35  LS_INTERFACE(LSError, LSInterface)
36 };
37 
38 }