#ifndef __PADDLE_CAPI_ERROR_H__ #define __PADDLE_CAPI_ERROR_H__ /** * Error Type for Paddle API. */ typedef enum { kPD_NO_ERROR = 0, kPD_NULLPTR = 1, kPD_OUT_OF_RANGE = 2, kPD_PROTOBUF_ERROR = 3, kPD_UNDEFINED_ERROR = -1, } paddle_error; #endif