diff --git a/Error.h b/Error.h index 3959312..0ae5b6b 100644 --- a/Error.h +++ b/Error.h @@ -13,6 +13,10 @@ enum errorCode{ CL_SERVER_TIMEOUT = 100, //Vehicle Errors VH_CLIENT_ASSOCIATE = 200, + //Terminal errors (for) + TR_NOT_ENOUGH_FUNDS = 300, + TR_JUST_ENOUGH_FUNDS, + TR_CLIENT_NOT_FOUND, }; @@ -31,6 +35,11 @@ const std::string errLib[][99] = { { //VEHICLE_ERROR [200 - 299] "Este vehiculo ya tiene un cliente asociado" + }, + { + //TERMINAL_ERROR [300 - 399] + // No tiene sentido que haya cadenas. La terminal no tiene pantalla. + "", } };