![]() |
botsense
3.2.0
RoadNarrows Client-Server Proxied Services Framework
|
Error and logging handling routines. More...
#include <stdio.h>
#include <stdlib.h>
#include <libgen.h>
#include <string.h>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "botsense/BotSense.h"
#include "botsense/libBotSense.h"
#include "bsLibInternal.h"
Go to the source code of this file.
Functions | |
const char * | bsStrError (int ecode) |
Get the error string describing the BotSense error code. More... | |
Variables | |
static const char * | bsEcodeStrTbl [] |
BotSense Error Code String Table. More... | |
Error and logging handling routines.
Definition in file bsLibError.c.
const char* bsStrError | ( | int | ecode | ) |
Get the error string describing the BotSense error code.
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 BS_ECODE_BADEC.
ecode |
Definition at line 122 of file bsLibError.c.
References BS_ECODE_BADEC, and bsEcodeStrTbl.
|
static |
BotSense Error Code String Table.
Table is indexed by BotSense error codes (see BotSense Error Codes). Keep in sync.
Definition at line 73 of file bsLibError.c.
Referenced by bsStrError().