OrbbecSDK 2.1.1
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
ob_error Struct Reference

The error class exposed by the SDK, users can get detailed error information according to the error. More...

#include <ObTypes.h>

Public Attributes

ob_status status
 Describe the status code of the error, as compatible with previous customer status code requirements.
 
char message [256]
 Describe the detailed error log.
 
char function [256]
 Describe the name of the function where the error occurred.
 
char args [256]
 Describes the parameters passed to the function when an error occurs. Used to check whether the parameter is wrong.
 
ob_exception_type exception_type
 The description is the specific error type of the SDK.
 

Detailed Description

The error class exposed by the SDK, users can get detailed error information according to the error.

Definition at line 109 of file ObTypes.h.

Member Data Documentation

◆ status

ob_status ob_error::status

Describe the status code of the error, as compatible with previous customer status code requirements.

Definition at line 110 of file ObTypes.h.

◆ message

char ob_error::message[256]

Describe the detailed error log.

Definition at line 111 of file ObTypes.h.

Referenced by ob::Error::getMessage(), and ob::Error::what().

◆ function

char ob_error::function[256]

Describe the name of the function where the error occurred.

Definition at line 112 of file ObTypes.h.

Referenced by ob::Error::getFunction(), and ob::Error::getName().

◆ args

char ob_error::args[256]

Describes the parameters passed to the function when an error occurs. Used to check whether the parameter is wrong.

Definition at line 113 of file ObTypes.h.

Referenced by ob::Error::getArgs().

◆ exception_type

ob_exception_type ob_error::exception_type

The description is the specific error type of the SDK.

Definition at line 114 of file ObTypes.h.

Referenced by ob::Error::getExceptionType().


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