SqueezeBrains SDK 1.18
sb_cs::SbCommon Class Reference

Common class More...

#include <cs_common.h>

Inheritance diagram for sb_cs::SbCommon:

Public Member Functions

SbError Error ()
 Returns the error code of the last operation. If no error SbError.SB_ERR_NONE is returned. More...
 
String ErrorMsg ()
 Returns the error message of the last operation. More...
 

Static Public Member Functions

static String FormatError (SbError error)
 Returns the error message. More...
 

Detailed Description

Common class

Definition at line 241 of file cs_common.h.

Member Function Documentation

◆ Error()

SbError sb_cs::SbCommon::Error ( )

Returns the error code of the last operation. If no error SbError.SB_ERR_NONE is returned.

Returns
The error code.

◆ ErrorMsg()

String sb_cs::SbCommon::ErrorMsg ( )

Returns the error message of the last operation.

Returns
An instance to the String class or null in case of memory error

◆ FormatError()

static String sb_cs::SbCommon::FormatError ( SbError  error)
static

Returns the error message.

Parameters
errorError code
Returns
An instance to the String class or null in case of memory error

The documentation for this class was generated from the following file: