OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
Error.h
Go to the documentation of this file.
1
5#pragma once
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#include "ObTypes.h"
12
20
27const char *ob_error_message(const ob_error *error);
28
35const char *ob_error_function(ob_error *error);
36
43const char *ob_error_args(ob_error *error);
44
52
59
60#ifdef __cplusplus
61}
62#endif
const char * ob_error_function(ob_error *error)
Get the name of the API function that caused the error.
const char * ob_error_message(const ob_error *error)
Get the error message.
ob_status ob_error_status(ob_error *error)
Get the error status.
const char * ob_error_args(ob_error *error)
Get the error parameters.
ob_exception_type ob_error_exception_type(ob_error *error)
Get the type of exception that caused the error.
void ob_delete_error(ob_error *error)
Delete the error object.
Provide structs commonly used in the SDK, enumerating constant definitions.
enum OBExceptionType ob_exception_type
enum OBStatus ob_status
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:151