GoPxL SDK

- Home
- Files
- Namespace

GoRequestError.h
Go to the documentation of this file.
1
9 #ifndef GO_PXL_SDK_REQUESTERROR_H
10 #define GO_PXL_SDK_REQUESTERROR_H
11
12 #include <stdexcept>
13 #include <GoPxLSdk/GoResponse.h>
14
15 namespace GoPxLSdk
16 {
17
18 class GoPxLSdkClass GoRequestError : public std::runtime_error
19 {
20 public:
27 GoRequestError();
28 GoRequestError(const GoRequestResponse& response);
29
34 GoRequestResponse GetResponse() const;
35
36 private:
37 GoRequestResponse response;
38 };
39
40 }
41
42 #endif
GoPxLSdk::GoRequestError
Definition: GoRequestError.h:18
GoPxLSdkClass
#define GoPxLSdkClass
Definition: Def.h:35
GoResponse.h
GoPxLSdk::GoRequestResponse
Represents a response to requests such as Read/Update.
Definition: GoResponse.h:101
GoPxLSdk
Definition: Def.h:46