#ifndef ERROR_OUTPUT_H_
#define ERROR_OUTPUT_H_

#define ERROR_MINI_NUM 100
#define ERROR_NO_INPUT_DATA 100
#define ERROR_NEGATIVE_HW 101
#define ERROR_SFM_INVALID_VECTOR 102
#define ERROR_WEIGHT_RECORD_NOT_FOUND 103
#define TRAIN_NUM_LESS_THATN_BATCH 104
#define FILE_CAN_NOT_ACCESS 105
#define XML_CONFIG_CAN_NOT_READ 106
#define SAME_CONV_STRIDE_MUST_IS_ONE 107
#define TRAIN_SEQLEN_BIGGER_THAN_MAX 108
#define CMEM_POOL_RUN_OUT 109
#define XML_CONFIG_MAX_IN_LAYER_VALID 110
#define SUB_TENSOR_OPERATE_NUM_OVERFLOW 111

class ErrorOutput {
    public:
        ErrorOutput();
        virtual ~ErrorOutput();
        static void ShowErrAndExitIfHappen(int errCode);
};

#endif
