| OrbbecSDK 1.5.7 OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
ob::Error Class Reference

`#include <Error.hpp>`

## Public Member Functions
| Error (std::unique_ptr< ErrorImpl > impl) noexcept
| Error (const Error &error) noexcept
| ~Error () noexcept
const char * | getMessage () const noexcept
| Obtain detailed error logs of SDK internal exceptions. More...
OBExceptionType | getExceptionType () const noexcept
| Get the exception type of the error, and determine which module is abnormal. More...
const char * | getName () const noexcept
| Get the name of the error function. More...
const char * | getArgs () const noexcept
| Get the parameter passed in to the error interface. More...

## Detailed Description

Definition at line 18 of file Error.hpp.

## Constructor & Destructor Documentation

ob::Error::Error | ( | std::unique_ptr< ErrorImpl > | impl | ) |
| noexcept

ob::Error::Error | ( | const Error & | error | ) |
| noexcept

ob::Error::~Error | ( |  | ) |
| noexcept

## Member Function Documentation

const char* ob::Error::getMessage | ( |  | ) | const
| noexcept

Obtain detailed error logs of SDK internal exceptions.

OBExceptionType ob::Error::getExceptionType | ( |  | ) | const
| noexcept

Get the exception type of the error, and determine which module is abnormal.

Returns
  OBExceptionType

const char* ob::Error::getName | ( |  | ) | const
| noexcept

Get the name of the error function.

const char* ob::Error::getArgs | ( |  | ) | const
| noexcept

Get the parameter passed in to the error interface.

The documentation for this class was generated from the following file:

- /root/libobsensor/include/libobsensor/hpp/Error.hpp