#ifndef __UOCCONTACTS_ERROR__H #define __UOCCONTACTS_ERROR__H // Define error codes enum _tApiError { E_SUCCESS = 0, // No error E_NOT_IMPLEMENTED = -1, // Called method is not implemented E_FILE_NOT_FOUND = -2, // File not found E_PERSON_NOT_FOUND = -3, // Person not found E_INVALID_ENTRY_TYPE = -4, // Invalid entry type E_INVALID_ENTRY_FORMAT = -5, // Invalid entry format E_DUPLICATED_PERSON = -6, // Duplicated person E_MEMORY_ERROR = -7, // Memory error E_VACCINE_NOT_FOUND = -8, // Vaccine not found E_HEALTH_CENTER_NOT_FOUND = -9, // Health Center not found E_LOT_NOT_FOUND = -10, // Vaccine lot not found }; // Define an error type typedef enum _tApiError tApiError; #endif // __UOCCONTACTS_ERRORS__H