botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
BotSense Error Codes

Macros

#define BS_OK   0
 not an error, success
 
#define BS_ECODE_GEN   1
 general, unspecified error
 
#define BS_ECODE_BAD_RECV   2
 bad receive
 
#define BS_ECODE_BAD_SEND   3
 bad send
 
#define BS_ECODE_BAD_RESYNC   4
 bad resync with server/client
 
#define BS_ECODE_MSG_BAD_HDR   5
 bad message header
 
#define BS_ECODE_MSG_FRAG   6
 message fragment
 
#define BS_ECODE_MSG_TOO_BIG   7
 message too big
 
#define BS_ECODE_BUF_TOO_SMALL   8
 buffer too small
 
#define BS_ECODE_BAD_MSG   9
 bad message
 
#define BS_ECODE_BAD_VAL   10
 bad value
 
#define BS_ECODE_MSG_BAD_TID   11
 cannot match transaction id
 
#define BS_ECODE_BAD_VCONN_HND   12
 bad virtual connection handle
 
#define BS_ECODE_NO_VCONN   13
 virtual connection not found
 
#define BS_ECODE_UNKNOWN_REQ   14
 unknown request
 
#define BS_ECODE_NO_DEV   15
 no proxied device
 
#define BS_ECODE_NO_MOD   16
 no interface module
 
#define BS_ECODE_BAD_MOD   17
 bad interface module
 
#define BS_ECODE_NO_RSRC   18
 no resource available
 
#define BS_ECODE_BUSY   19
 resource busy
 
#define BS_ECODE_TIMEDOUT   20
 operation timed out
 
#define BS_ECODE_NO_EXEC   21
 cannot execute
 
#define BS_ECODE_SERVER_CONN_FAIL   22
 cannot connect to server
 
#define BS_ECODE_SERVER_CONN_DENY   23
 server denied connection
 
#define BS_ECODE_SERVER_BAD_CLIENT   24
 server detected bad client
 
#define BS_ECODE_SYS   25
 system (errno) error
 
#define BS_ECODE_INTERNAL   26
 internal error (bug)
 
#define BS_ECODE_BADEC   27
 bad error code
 
#define BS_ECODE_NUMOF   28
 number of error codes
 

Detailed Description

BotSense package-wide error codes.