OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
Functions for handling errors, mainly used for obtaining error messages. More...
#include "ObTypes.h"
Go to the source code of this file.
Functions | |
ob_status | ob_error_status (ob_error *error) |
Get the error status. | |
const char * | ob_error_message (const ob_error *error) |
Get the error message. | |
const char * | ob_error_function (ob_error *error) |
Get the name of the API function that caused the error. | |
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. | |
Functions for handling errors, mainly used for obtaining error messages.
Definition in file Error.h.
Get the error status.
[in] | error | The error object. |
const char * ob_error_message | ( | const ob_error * | error | ) |
Get the error message.
[in] | error | The error object. |
const char * ob_error_function | ( | ob_error * | error | ) |
Get the name of the API function that caused the error.
[in] | error | The error object. |
const char * ob_error_args | ( | ob_error * | error | ) |
Get the error parameters.
[in] | error | The error object. |
ob_exception_type ob_error_exception_type | ( | ob_error * | error | ) |
Get the type of exception that caused the error.
[in] | error | The error object. |
void ob_delete_error | ( | ob_error * | error | ) |
Delete the error object.
[in] | error | The error object to delete. |