BrainBit for developers Subscribe for updates Visit website

SDK Error

 

#include “sdk_error.h

 

The class that allows you to get the last error that occurred.

Description

SDK_NO_ERROR

During the execution of the method, no errors occurred

ERROR_UNHANDLED_EXCEPTION

An unknown error occurred during the execution of the method

ERROR_EXCEPTION_WITH_MESSAGE

A known error occurred during method execution

sdk_last_error_msg

Function. Getting the last error message.

The method allows you to get a description of the last error that occurred.

Options:

msg_buffer

Description: Error description

Data type: char *

length

Description: description length

Data type: size_t

Return value:

Description: An indication of an error. More details sdk_error

Data type: int.