Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / StatusCode.h
diff options
context:
space:
mode:
Commit93080461d4e0e9684217ebe11322430a6f73592e (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:17:04 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:17:04 +0300
Files8abdb102d41d22aa655f11473d7596d6eed99009 /src/Services/StatusCode.h
FMI-OOP-P1_TicketSystem-93080461d4e0e9684217ebe11322430a6f73592e.tar
FMI-OOP-P1_TicketSystem-93080461d4e0e9684217ebe11322430a6f73592e.tar.gz
FMI-OOP-P1_TicketSystem-93080461d4e0e9684217ebe11322430a6f73592e.zip
Parent7f87c0ba3838ddda550117c4bc74f46b7b0d94dc (diff)
Autocommit at 07.05.2022 @ 09:17
1 files changed, 25 insertions, 0 deletions
-rw-r--r--src/Services/StatusCode.h25
diff --git a/src/Services/StatusCode.h b/src/Services/StatusCode.h
new file mode 100644
index 0000000..a1eaa17
--- /dev/null
+++ b/src/Services/StatusCode.h
@@ -0,0 +1,25 @@
+#ifndef HEADER_SERVICE_STATUSCODE
+#define HEADER_SERVICE_STATUSCODE
+
+enum StatusCode {
+ Success,
+
+
+ W_TicketHadNotBeenReserved,
+
+
+ E_Generic,
+ E_DoesntExist,
+
+ E_HallDoesntExist,
+
+ E_EventWillOverlap,
+ E_EventDoesNotExist,
+
+ E_TicketAlreadyBought,
+ E_TicketAlreadyReserved,
+ E_ReservationDoesNotExist,
+ E_WrongReservationPassword,
+};
+
+#endif