OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
Error.hpp
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "Types.hpp"
13 #include <memory>
14 
15 struct ErrorImpl;
16 
17 namespace ob {
19 private:
20  std::unique_ptr<ErrorImpl> impl_;
21 
22 public:
23  Error(std::unique_ptr<ErrorImpl> impl) noexcept;
24 
25  Error(const Error &error) noexcept;
26 
27  ~Error() noexcept;
35  const char *getMessage() const noexcept;
36 
45  OBExceptionType getExceptionType() const noexcept;
46 
54  const char *getName() const noexcept;
55 
63  const char *getArgs() const noexcept;
64 };
65 } // namespace ob
Definition: Context.hpp:20
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition: ObTypes.h:118
Provide SDK structure and enumeration constant definition (depending on libobsensor/h/ObTypes.h)
#define OB_EXTENSION_API
Definition: ObTypes.h:25