BAOS SDK  18.2.0
Public Types | Static Public Member Functions | List of all members
kdrive::baos::BaosErrorCodes Struct Reference

Error codes from the kdriveRPC_baos lib The range for the baos error codes begins with 0x00010000 and ends with 0x00011FFF. More...

#include <ErrorCodes.h>

Public Types

enum  Codes {
  None = 0, BaosError = 0x10000, ClientError = 0x10001, ServerError = 0x11000,
  Internal = 0x11001, NoItemFound = 0x11002, BufferTooSmall = 0x11003, ItemNotWriteable = 0x11004,
  ServiceNotSupported = 0x11005, BadServiceParameter = 0x11006, WrongDpId = 0x11007, BadDpCmd = 0x11008,
  BadDpValueLength = 0x11009, MessageInconsistent = 0x1100A, ObjectServerIsBusy = 0x1100B
}
 

Static Public Member Functions

static std::string toString (unsigned int errorCode)
 given an error code will return the corresponding short string More...
 

Detailed Description

Error codes from the kdriveRPC_baos lib The range for the baos error codes begins with 0x00010000 and ends with 0x00011FFF.

The other codes are reserved for other kdrive components.

Member Enumeration Documentation

Enumerator
None 
BaosError 
ClientError 
ServerError 

0x10002 to 0x10FFF are reserved for future client error codes

Internal 
NoItemFound 
BufferTooSmall 
ItemNotWriteable 
ServiceNotSupported 
BadServiceParameter 
WrongDpId 
BadDpCmd 
BadDpValueLength 
MessageInconsistent 
ObjectServerIsBusy 

Member Function Documentation

std::string kdrive::baos::BaosErrorCodes::toString ( unsigned int  errorCode)
static

given an error code will return the corresponding short string


The documentation for this struct was generated from the following files: