OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
Error.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #include "ObTypes.h"
17 
45 const char *ob_error_message(ob_error *error);
59 const char *ob_error_function(ob_error *error);
73 const char *ob_error_args(ob_error *error);
99 void ob_delete_error(ob_error *error);
100 
101 #ifdef __cplusplus
102 }
103 #endif
ob_exception_type ob_error_exception_type(ob_error *error)
Get error exception type.
Provide structs commonly used in the SDK, enumerating constant definitions.
const char * ob_error_message(ob_error *error)
Get error information.
enum OBExceptionType ob_exception_type
const char * ob_error_args(ob_error *error)
Get error parameters.
const char * ob_error_function(ob_error *error)
Get error API function name.
ob_status ob_error_status(ob_error *error)
Get error status.
void ob_delete_error(ob_error *error)
Delete the error object.
enum OBStatus ob_status
The error class exposed by the SDK, users can get detailed error information according to the erro...
Definition: ObTypes.h:142