OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
Error.hpp
Go to the documentation of this file.
1
6#pragma once
7
8#include "Types.hpp"
9#include <memory>
10
11struct ErrorImpl;
12
13namespace ob {
15private:
16 std::unique_ptr<ErrorImpl> impl_;
17
18public:
19 Error(std::unique_ptr<ErrorImpl> impl) noexcept;
20
21 Error(const Error &error) noexcept;
22
23 ~Error() noexcept;
24
29 const char *getMessage() const noexcept;
30
35 OBExceptionType getExceptionType() const noexcept;
36
41 const char *getName() const noexcept;
42
47 const char *getArgs() const noexcept;
48};
49} // namespace ob
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition ObTypes.h:134
#define OB_EXTENSION_API
Definition ObTypes.h:28
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
Error(const Error &error) noexcept
Error(std::unique_ptr< ErrorImpl > impl) noexcept
~Error() noexcept
Definition Context.hpp:16