| 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
8 extern "C" {
9#endif
10
11#include "ObTypes.h"
12
19 ob_status ob_error_status(ob_error *error);
20
27 const char *ob_error_message(const ob_error *error);
28
35 const char *ob_error_function(ob_error *error);
36
43 const char *ob_error_args(ob_error *error);
44
51 ob_exception_type ob_error_exception_type(ob_error *error);
52
58 void ob_delete_error(ob_error *error);
59
60#ifdef __cplusplus
61}
62#endif
ob_error_function
const char * ob_error_function(ob_error *error)
Get the name of the API function that caused the error.
ob_error_message
const char * ob_error_message(const ob_error *error)
Get the error message.
ob_error_status
ob_status ob_error_status(ob_error *error)
Get the error status.
ob_error_args
const char * ob_error_args(ob_error *error)
Get the error parameters.
ob_error_exception_type
ob_exception_type ob_error_exception_type(ob_error *error)
Get the type of exception that caused the error.
ob_delete_error
void ob_delete_error(ob_error *error)
Delete the error object.
ObTypes.h
Provide structs commonly used in the SDK, enumerating constant definitions.
ob_exception_type
enum OBExceptionType ob_exception_type
ob_status
enum OBStatus ob_status
ob_error
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:151