Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};


Expand All @@ -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.
"",
}
};

Expand Down