Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / StatusCode.h
diff options
context:
space:
mode:
Commit1dfbe734d7a2983adf66b36fe6c0bc72f762d4a7 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-22 09:41:08 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-22 09:41:08 +0300
Filesbe1c6c8d9738c0fd9310a00914ec15ceb37f935d /src/Services/StatusCode.h
FMI-OOP-P1_TicketSystem-main.tar
FMI-OOP-P1_TicketSystem-main.tar.gz
FMI-OOP-P1_TicketSystem-main.zip
Parent061e8baf6844d54d06a98b9100846e24c8d32e42 (diff)
Added an error for when a seat doesn't exist in an Event's hall HEAD main
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/Services/StatusCode.h1
diff --git a/src/Services/StatusCode.h b/src/Services/StatusCode.h
index 3813e87..9d3b94f 100644
--- a/src/Services/StatusCode.h
+++ b/src/Services/StatusCode.h
@@ -25,6 +25,7 @@ enum StatusCode {
E_EventWillOverlap,
E_EventDoesNotExist,
+ E_InvalidSeat,
E_TicketAlreadyBought,
E_TicketAlreadyReserved,
E_ReservationDoesNotExist,