STATUS_CODE
They status code are returned after some actions. You can check their values to know what happens
#
Success code#
Table creation succeededconst int STATUS_TABLE_CREATED = -200; // Table creation succeeded
#
Table already existconst int STATUS_TABLE_EXIST = -201; // Table already exist
#
Memory is availableconst int STATUS_SUF_MEMORY = -204; // Sufficient memory - memory is available
#
Error code#
Table not foundconst int STATUS_TABLE_NOT_FOUND = -401; // Table not found
#
Column not foundconst int STATUS_COL_NOT_FOUND = -402; // Column not found
#
Insufficient memoryconst int STATUS_INSUF_MEMORY = -404; // Insufficient memory
#
Maximum of capacity exceededconst int STATUS_MAX_CAP_EXCEEDED = -405; // Maximum of capacity exceeded
#
Exampleexample
if (mem.CREATE_TABLE("EM") == STATUS_INSUF_MEMORY) { Serial.println("Table creation failed due to insuffient memory!!");}