28 #ifndef INCLUDED_BLPAPI_ERROR 29 #define INCLUDED_BLPAPI_ERROR 49 #ifndef INCLUDED_BLPAPI_DEFS 53 #define BLPAPI_RESULTCODE(res) ((res) & 0xffff) 54 #define BLPAPI_RESULTCLASS(res) ((res) & 0xff0000) 56 #define BLPAPI_UNKNOWN_CLASS 0x00000 57 #define BLPAPI_INVALIDSTATE_CLASS 0x10000 58 #define BLPAPI_INVALIDARG_CLASS 0x20000 59 #define BLPAPI_IOERROR_CLASS 0x30000 60 #define BLPAPI_CNVERROR_CLASS 0x40000 61 #define BLPAPI_BOUNDSERROR_CLASS 0x50000 62 #define BLPAPI_NOTFOUND_CLASS 0x60000 63 #define BLPAPI_FLDNOTFOUND_CLASS 0x70000 64 #define BLPAPI_UNSUPPORTED_CLASS 0x80000 66 #define BLPAPI_ERROR_UNKNOWN (BLPAPI_UNKNOWN_CLASS | 1) 67 #define BLPAPI_ERROR_ILLEGAL_ARG (BLPAPI_INVALIDARG_CLASS | 2) 68 #define BLPAPI_ERROR_ILLEGAL_ACCESS (BLPAPI_UNSUPPORTED_CLASS | 3) 69 #define BLPAPI_ERROR_INVALID_SESSION (BLPAPI_INVALIDARG_CLASS | 4) 70 #define BLPAPI_ERROR_DUPLICATE_CORRELATIONID (BLPAPI_INVALIDARG_CLASS | 5) 71 #define BLPAPI_ERROR_INTERNAL_ERROR (BLPAPI_UNKNOWN_CLASS | 6) 72 #define BLPAPI_ERROR_RESOLVE_FAILED (BLPAPI_IOERROR_CLASS | 7) 73 #define BLPAPI_ERROR_CONNECT_FAILED (BLPAPI_IOERROR_CLASS | 8) 74 #define BLPAPI_ERROR_ILLEGAL_STATE (BLPAPI_INVALIDSTATE_CLASS | 9) 75 #define BLPAPI_ERROR_CODEC_FAILURE (BLPAPI_UNKNOWN_CLASS | 10) 76 #define BLPAPI_ERROR_INDEX_OUT_OF_RANGE (BLPAPI_BOUNDSERROR_CLASS | 11) 77 #define BLPAPI_ERROR_INVALID_CONVERSION (BLPAPI_CNVERROR_CLASS | 12) 78 #define BLPAPI_ERROR_ITEM_NOT_FOUND (BLPAPI_NOTFOUND_CLASS | 13) 79 #define BLPAPI_ERROR_IO_ERROR (BLPAPI_IOERROR_CLASS | 14) 80 #define BLPAPI_ERROR_CORRELATION_NOT_FOUND (BLPAPI_NOTFOUND_CLASS | 15) 81 #define BLPAPI_ERROR_SERVICE_NOT_FOUND (BLPAPI_NOTFOUND_CLASS | 16) 82 #define BLPAPI_ERROR_LOGON_LOOKUP_FAILED (BLPAPI_UNKNOWN_CLASS | 17) 83 #define BLPAPI_ERROR_DS_LOOKUP_FAILED (BLPAPI_UNKNOWN_CLASS | 18) 84 #define BLPAPI_ERROR_UNSUPPORTED_OPERATION (BLPAPI_UNSUPPORTED_CLASS | 19) 85 #define BLPAPI_ERROR_DS_PROPERTY_NOT_FOUND (BLPAPI_NOTFOUND_CLASS | 20) 86 #define BLPAPI_ERROR_MSG_TOO_LARGE (BLPAPI_INVALIDARG_CLASS | 21) 116 #endif // #ifndef INCLUDED_BLPAPI_ERROR Common definitions used by the library.
Definition: blpapi_abstractsession.h:187
const char * blpapi_getLastErrorDescription(int resultCode)
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171