nightingale/vendor/github.com/open-falcon/rrdlite/rrd_error.h

127 lines
6.9 KiB
C

#define RRD_ERR_START 0x0200
#define RRD_ERR_ALLOC 0x0200
#define RRD_ERR_INVALID_DS_NAME 0x0201
#define RRD_ERR_INVALID_DS_TYPE 0x0202
#define RRD_ERR_DUPLICATE_DS_NAME 0x0203
#define RRD_ERR_INVALID_DS_FORMAT 0x0204
#define RRD_ERR_INVALID_DS_TYPE_SPEC 0x0205
#define RRD_ERR_CREATE_WRITE 0x0206
#define RRD_ERR_FAILED_PARSE_CF_NAME 0x0207
#define RRD_ERR_UNREC_CONSOLIDATION_FUNC 0x0208
#define RRD_ERR_INVALID_ROW_COUNT 0x0209
#define RRD_ERR_INVALID_XFF 0x020a
#define RRD_ERR_INVALID_ALPHA 0x020b
#define RRD_ERR_INVALID_GAMMA 0x020c
#define RRD_ERR_FAILURE_THRESHOLD_OUT_OF_RANGE 0x020d
#define RRD_ERR_INVALID_STEP 0x020e
#define RRD_ERR_INVALID_BETA 0x020f
#define RRD_ERR_WIN_LEN_OUT_OF_RANGE 0x0210
#define RRD_ERR_WINLEN_SHORTER_FAILURE_THRESHOLD 0x0211
#define RRD_ERR_INVALID_ARG1 0x0212
#define RRD_ERR_TIME_TOO_LARGE 0x0213
#define RRD_ERR_INVALID_SMOOTHING_WINDOW 0x0214
#define RRD_ERR_INVALID_OPT 0x0215
#define RRD_ERR_LEN_OF_SEASONAL_CYCLE 0x0216
#define RRD_ERR_INVALID_ARG2 0x0217
#define RRD_ERR_UNKNOWN_ERROR 0x0218
#define RRD_ERR_ARG3 0x0219
#define RRD_ERR_CREATING_RRA 0x021a
#define RRD_ERR_ARG4 0x021b
#define RRD_ERR_ARG5 0x021c
#define RRD_ERR_ARG6 0x021d
#define RRD_ERR_ARG7 0x021e
#define RRD_ERR_ARG8 0x021f
#define RRD_ERR_CREATE_FILE1 0x0220
#define RRD_ERR_MALLOC1 0x0221
#define RRD_ERR_MALLOC2 0x0222
#define RRD_ERR_NO_MATCH_RRA 0x0223
#define RRD_ERR_MALLOC3 0x0224
#define RRD_ERR_SEEK_RRA 0x0225
#define RRD_ERR_SEEK_RRA1 0x0226
#define RRD_ERR_FETCH_CDP 0x0227
#define RRD_ERR_UNKNOWN_DS_NAME 0x0228
#define RRD_ERR_MALLOC4 0x0229
#define RRD_ERR_READ1 0x022a
#define RRD_ERR_SEEK1 0x022b
#define RRD_ERR_MALLOC5 0x022c
#define RRD_ERR_SEEK2 0x022d
#define RRD_ERR_READ2 0x022e
#define RRD_ERR_DEP1 0x022f
#define RRD_ERR_SEEK3 0x0230
#define RRD_ERR_WRITE1 0x0231
#define RRD_ERR_SEEK4 0x0232
#define RRD_ERR_WRITE2 0x0233
#define RRD_ERR_READ3 0x0234
#define RRD_ERR_MALLOC6 0x0235
#define RRD_ERR_READ4 0x0236
#define RRD_ERR_MALLOC7 0x0237
#define RRD_ERR_MALLOC8 0x0238
#define RRD_ERR_IO1 0x0239
#define RRD_ERR_OPEN_FILE 0x023a
#define RRD_ERR_STAT_FILE 0x023b
#define RRD_ERR_WRITE5 0x023c
#define RRD_ERR_MMAP 0x023d
#define RRD_ERR_FILE 0x023e
#define RRD_ERR_FILE1 0x023f
#define RRD_ERR_FILE2 0x0240
#define RRD_ERR_MALLOC9 0x0241
#define RRD_ERR_FILE3 0x0242
#define RRD_ERR_MSYNC 0x0243
#define RRD_ERR_MUNMAP 0x0244
#define RRD_ERR_CLOSE 0x0245
#define RRD_ERR_WRITE6 0x0246
#define RRD_ERR_ARG9 0x0247
#define RRD_ERR_WRITE7 0x0248
#define RRD_ERR_ARG10 0x0249
#define RRD_ERR_LOCK 0x024a
#define RRD_ERR_FAILED_STRDUP 0x024b
#define RRD_ERR_MALLOC10 0x024c
#define RRD_ERR_MALLOC11 0x024d
#define RRD_ERR_MALLOC12 0x024e
#define RRD_ERR_MALLOC13 0x024f
#define RRD_ERR_MALLOC14 0x0250
#define RRD_ERR_MALLOC15 0x0251
#define RRD_ERR_PARSE 0x0252
#define RRD_ERR_FAILED_STRDUP1 0x0253
#define RRD_ERR_MORE_DS 0x0254
#define RRD_ERR_UNKNOWN_DS_NAME1 0x0255
#define RRD_ERR_STR 0x0256
#define RRD_ERR_ARG11 0x0257
#define RRD_ERR_EXPECTED 0x0258
#define RRD_ERR_TIME1 0x0259
#define RRD_ERR_TIME2 0x025a
#define RRD_ERR_STRTOD 0x025b
#define RRD_ERR_TIME3 0x025c
#define RRD_ERR_INT 0x025d
#define RRD_ERR_DATA 0x025e
#define RRD_ERR_UNKNOWN_DS_TYPE 0x025f
#define RRD_ERR_SEEK5 0x0260
#define RRD_ERR_WRITE8 0x0261
#define RRD_ERR_SEEK6 0x0262
#define RRD_ERR_WRITE9 0x0263
#define RRD_ERR_WRITE10 0x0264
#define RRD_ERR_WRITE11 0x0265
#define RRD_ERR_WRITE12 0x0266
#define RRD_ERR_TIME4 0x0267
#define RRD_ERR_TIME5 0x0268
#define RRD_ERR_TIME6 0x0269
#define RRD_ERR_MALLOC16 0x026a
#define RRD_ERR_PARSE1 0x026b
#define RRD_ERR_DS 0x026c
#define RRD_ERR_EXPR 0x026d
#define RRD_ERR_STACK 0x026e
#define RRD_ERR_STACK1 0x026f
#define RRD_ERR_ABORT 0x0270
#define RRD_ERR_ALLOW 0x0271
#define RRD_ERR_ARG12 0x0272
#define RRD_ERR_STACK2 0x0273
#define RRD_ERR_DATA1 0x0274
#define RRD_ERR_DATA2 0x0275
#define RRD_ERR_MALLOC17 0x0276
#define RRD_ERR_UNKNOWN_DATA 0x0277
#define RRD_ERR_UPDATE_CDP 0x0278
#define RRD_ERR_UNKNOWN_DATA1 0x0279
/* if add new system event flag, please upadte the RRD_ERR_END */
#define RRD_ERR_END 0x0279
#define RRD_ERR_NUM (RRD_ERR_END - RRD_ERR_START + 1)