netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package

Get the error string describing the BotSense error code. More...

Get the error string describing the BotSense error code.

Synopsis:
#include "rnr/netmsgs.h"

const char *nmStrError(int ecode);

Description:
The absolute value of the error code is taken prior retrieving the string. An unknown or out-of-range error code will be mapped to NM_ECODE_BADEC.

Parameters
ecodeBotSense error code.
Returns
Returns the appropriate error code string.